lightspeed/transport
Transport abstractions.
Types
Supported transport families.
pub type Transport {
WebSocket
ServerSentEvents
LongPolling
InProcess
}
Constructors
-
WebSocket -
ServerSentEvents -
LongPolling -
InProcess
Values
pub fn bidirectional(transport: Transport) -> Bool
True when the transport can send client and server messages over one channel.