jsonrpsee_client_transport

Module ws

Source
Available on crate feature ws only.
Expand description

Websocket transport

Structs§

Header
Represents a parsed header.
HeaderMap
A set of HTTP headers
HeaderValue
Represents an HTTP header field value.
InvalidUri
An error resulting from a failed attempt to construct a URI.
Receiver
Receiving end of WebSocket transport.
Sender
Sending end of WebSocket transport.
Uri
The URI component of a request.
Url
A parsed URL record.
WsTransportClientBuilder
Builder for a WebSocket transport Sender and Receiver pair.

Enums§

CertificateStore
Certificate store to use for TLS connections.
EitherStream
Stream to represent either a unencrypted or encrypted socket stream.
Mode
Stream mode, either plain TCP or TLS.
WsError
Error that can occur when reading or sending messages on an established connection.
WsHandshakeError
Error that can happen during the WebSocket handshake.

Traits§

AsyncRead
Reads bytes from a source.
AsyncWrite
Writes bytes asynchronously.

Type Aliases§

CustomCertStore
Custom TLS configuration.