Available on crate feature
server
only.Expand description
Helpers for configuring and running an HTTPS server, especially for admission controllers and API extensions
Unlike a normal hyper
server, this server reloads its TLS credentials for each connection to
support certificate rotation.
§TLS Feature Flags
The server module requires that one of the TLS implementation Cargo features be enabled in order to run the server. If neither TLS implementation is selected, running the server will panic. However, this module itself is still enabled if neither TLS feature flag is selected. This is to allow the server module to be used in a library crate which does not require either particular TLS implementation, so that the top-level binary crate may choose which TLS implementation is used.
Structs§
- A running server
- Command-line arguments used to configure a server
- A running server
- The path to the server’s TLS certificate bundle
- The path to the server’s TLS private key
Enums§
- Describes an error that occurred while initializing a server