Skip to main content

Module transport

Module transport 

Source
Expand description

Transport options that DAPI requests use under the hood.

Structs§

AppliedRequestSettings
DAPI settings ready to use.
ProxyError
A request failed because the proxy failed, not the evonode: the proxy is unreachable, broke the SOCKS5 protocol, refused the credentials, or answered with a general failure or an unsupported command. It is carried in the source chain of the transport error; see TransportError::is_proxy_failure.
Socks5Proxy
A SOCKS5 proxy every DAPI connection is tunnelled through.

Enums§

ProxyEndpoint
Where a Socks5Proxy listens.
Socks5Auth
How a client authenticates to a Socks5Proxy.
TransportError
Transport error type.

Traits§

TransportClient
Generic way to create a transport client from provided Uri.
TransportRequest
Generic transport layer request. Requires Clone as could be retried and a client in general consumes a request.

Functions§

create_channel
Create channel (connection) for gRPC transport.
sleep
Sleep for the given duration.

Type Aliases§

BackonSleeper
backon::Sleeper
BoxFuture
An owned dynamically typed Future for use in cases where you can’t statically type your result or need to add some indirection.
CoreGrpcClient
Core Client using gRPC transport.
PlatformGrpcClient
Platform Client using gRPC transport.