Expand description

hRPC client transports.

A client transport is any tower::Service that has a BoxRequest request type, BoxResponse response type and TransportError<Err> (where Err is the error type the transport uses) error type. This allows tower::Layers to be used to compose transports.

Currently implemented:

Modules

The HTTP transport.

The mock transport. Useful for testing.

Structs

Struct that should be used by transports to return socket channels to generic client.

Enums

Error type that transports need to return.

Functions

Returns whether a request is a socket request or not.