Crate tonic_rustls

Source
Expand description

Batteries included server and client.

This module provides a set of batteries included, fully featured and fast set of HTTP/2 server and client’s. These components each provide a rustls tls backend when the respective feature flag is enabled, and provides builders to configure transport behavior.

§Features

  • TLS support via rustls.
  • Load balancing
  • Timeouts
  • Concurrency Limits
  • Rate limiting

Modules§

channel
Client implementation and builder.
server
Server implementation and builder.

Structs§

CertificateDer
A DER-encoded X.509 certificate; as specified in RFC 5280
Channel
A default batteries included transport channel.
Endpoint
Channel builder.
Error
Error’s that originate from the client or server;
Server
A default batteries included transport server.
Uri
The URI component of a request.

Traits§

Body
Trait representing a streaming body of a Request or Response.