Skip to main content

Module client

Module client 

Source
Expand description

The module contains traits defined for the client-side

Modules§

stream
ClientStream represents a client-side connection.
task
Trait and utils for client-side task
timer
The struct that implements a timer for ClientTask

Structs§

ClientConfig
General config for client-side
ClientDefault
An example ClientFacts for general use
ClientPool
Connection pool to the one server address (supports async and blocking context)
FailoverPool
A pool supports failover to multiple address with optional round_robin strategy

Traits§

ClientCaller
A trait to support sending request task in async text, for all router and connection pool implementations
ClientCallerBlocking
A trait to support sending request task in blocking text, for all router and connection pool implementations
ClientFacts
A trait implemented by the user for the client-side, to define the customizable plugin.
ClientTransport
This trait is for client-side transport layer protocol.