smux server
smux server
The smux server binding decodes smux-framed streams on the inbound network connection, producing higher level application streams for each multiplexed session.
smux_server:
type: smux
kind: server
exit: app_serverConfiguration (* 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: app_serverexit
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.

