tokio_proto::util

Module client_proxy

Source
Expand description

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§

  • Client Service for pipeline or multiplex protocols
  • Response future returned from a client

Functions§

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

Type Aliases§

  • A client / receiver pair
  • Receive requests submitted to the client