binding
Zilla runtime bindings
Each configured binding represents a step in the pipeline as data streams are decoded, translated or encoded according to a specific protocol type.
A binding also has a kind, indicating how it should behave, such as server, proxy or client.
As each incoming data stream arrives, the binding follows its configured routes to reach an exit binding, or rejects the stream if no routes are viable. Route matching conditions are defined in terms specific to each binding type.
See each of the specific binding types linked below for more detailed examples.

Configuration

Each runtime binding has a behavioral type supporting either encoding and decoding for a specific protocol or translation between protocols.

Properties (generic)

Name
Type
Description
type
Behavioral type supporting either encoding and decoding for a specific protocol or translation between protocols

Properties (type-specific)

Name
Type
Description
kind
string
Behavioral kind such as server, client or proxy
options
object
Type-specific options to configure the binding
routes
array of route
Type-specific conditional routing rules to reach an exit binding
exit
string
Unconditional exit binding acting as a default if none of the conditional routes are viable
Copy link
On this page
Configuration