Structsยง
- TLSConfig
Params ๐ - TLSConfig
Resolved ๐ - TLS Config with already read files.
- Tonic
Connector - URLParams ๐
Enumsยง
Functionsยง
- bool_
from_ ๐int - channel_
from_ url - Turn a url::Url to a [Channel] if it can be parsed successfully. It supports the following schemes (and URLs):
- resolve_
tls_ ๐config - Takes a TLSConfigParams, and returns a TLSConfigResolved. Going from one to the other potentially requires doing IO, so this function is async.
- setup_
endpoint_ ๐http - Helper function configuring [Endpoint] from a url and
Option<TLSConfigResolved>. Factored out to be used from both TonicConnector::connect and TonicConnector::connect_expect_lazy.