[][src]Module tokio_proto::util::client_proxy

Utilities for building protocol clients

Provides a channel that handles details of providing a Service client. Usually, this module does not have to be used directly. Instead it is used by pipeline and multiplex in the connect fns.

However, some protocols require implementing the dispatch layer directly, in which case using client channel is helpful.

Structs

ClientProxy

Client Service for pipeline or multiplex protocols

Response

Response future returned from a client

Functions

pair

Return a client handle and a handle used to receive requests on

Type Definitions

Pair

A client / receiver pair

Receiver

Receive requests submitted to the client