Skip to main content

register_websocket_sink

Function register_websocket_sink 

Source
pub fn register_websocket_sink(
    registry: &ConnectorRegistry,
) -> Result<(), ConnectorError>
Expand description

Registers the WebSocket sink connector with the given registry.

The sink factory selects server or client mode from the validated config before either implementation performs network I/O.

ยงErrors

Returns an error when the sink name is already registered or the connector registry is frozen.