smux client
smux client
The smux client binding receives multiple inbound application streams and encodes them as multiplexed sessions over a single smux-framed network connection.
smux_client:
type: smux
kind: client
exit: net_clientConfiguration (* required)
routes
array
Conditional smux specific routes.
routes[].guarded
objectas map of namedarrayofstring
List of roles required by each named guard to authorize this route.
routes:
- guarded:
my_guard:
- read:itemsroutes[].when
arrayofobject
List of conditions (any match) to match this route. Read more: When a route matches
routes[].with
object
Route with override configuration.
routes[].exit
string
Next binding when following this route.
routes:
- exit: net_clientexit
string
Default exit binding when no conditional routes are viable.
exit: echo_servertelemetry
object
Defines the desired telemetry for the binding.
telemetry.metrics
array
Telemetry metrics to track
telemetry:
metrics:
- stream.*telemetry.attributes
objectas map of namedstringproperties
Telemetry attributes to add to the binding metrics.

