[][src]Crate tonic_openssl

A openssl adaptor for tonic.

Examples can be found in the example crate within the repository.

Structs

SslStream

A SslStream wrapper type that implements tokio's io traits and tonic's Connected trait.

Constants

ALPN_H2_WIRE

A const that contains the on the wire h2 alpn value that can be passed directly to OpenSSL.

Functions

incoming

Wrap some incoming stream of io types with OpenSSL's SslStream type. This will take some acceptor and a stream of io types and accept connections.

Type Definitions

Error

Wrapper error type.