Struct warp::TlsServer[][src]

pub struct TlsServer<F> { /* fields omitted */ }
Expand description

A Warp Server ready to filter requests over TLS.

This type requires the "tls" feature.

Implementations

Specify the file path to read the private key.

This function requires the "tls" feature.

Specify the file path to read the certificate.

This function requires the "tls" feature.

Specify the file path to read the trust anchor for optional client authentication.

Anonymous and authenticated clients will be accepted. If no trust anchor is provided by any of the client_auth_ methods, then client authentication is disabled by default.

This function requires the "tls" feature.

Specify the file path to read the trust anchor for required client authentication.

Only authenticated clients will be accepted. If no trust anchor is provided by any of the client_auth_ methods, then client authentication is disabled by default.

This function requires the "tls" feature.

Specify the in-memory contents of the private key.

This function requires the "tls" feature.

Specify the in-memory contents of the certificate.

This function requires the "tls" feature.

Specify the in-memory contents of the trust anchor for optional client authentication.

Anonymous and authenticated clients will be accepted. If no trust anchor is provided by any of the client_auth_ methods, then client authentication is disabled by default.

This function requires the "tls" feature.

Specify the in-memory contents of the trust anchor for required client authentication.

Only authenticated clients will be accepted. If no trust anchor is provided by any of the client_auth_ methods, then client authentication is disabled by default.

This function requires the "tls" feature.

Specify the DER-encoded OCSP response.

This function requires the "tls" feature.

Run this TlsServer forever on the current thread.

This function requires the "tls" feature.

Bind to a socket address, returning a Future that can be executed on a runtime.

This function requires the "tls" feature.

Bind to a possibly ephemeral socket address.

Returns the bound address and a Future that can be executed on the current runtime.

This function requires the "tls" feature.

Create a server with graceful shutdown signal.

When the signal completes, the server will start the graceful shutdown process.

This function requires the "tls" feature.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more