Expand description
Websocket endpoint.
Endpoint
is used to perform a handshake. It is compatible with
both sync and async IO.
To open or accept a connection directly, use Endpoint::connect
,
Endpoint::accept
, or their async version.
To have detailed control over a handshake, use Endpoint::send_request
,
Endpoint::recv_response
, Endpoint::recv_request
, Endpoint::send_response
,
or their async version.
Structs
- Handshake endpoint.