pub trait WebSocketOption<H>: HandlerOption {
    type WebSocketHandler;

    fn websocket_handler(
        handler: H,
        options: Self::Options
    ) -> Self::WebSocketHandler; }
Expand description

A trait that shows the implementing type is able to create [generic_api_client::websocket::WebSocketHandler]s

Required Associated Types§

Required Methods§

Implementors§