Expand description
Configuration for a channel manager (and, therefore, channels)
ยงSemver note
Most types in this module are re-exported by arti-client.
Structsยง
- Channel
Config - Channel configuration
- Channel
Config Builder - A builder to create an instance of
ChannelConfig. - Http
Connect Auth - Authentication credentials for HTTP CONNECT proxy.
Enumsยง
- Proxy
Protocol - Information about what proxy protocol to use, and how to use it.
- Proxy
Protocol Parse Error - Error parsing a proxy URI string
Constantsยง
- USERINFO_
ENCODE_ ๐SET - Characters that must be percent-encoded in userinfo (RFC 3986 section 3.2.1). This includes: gen-delims (:/?#[]@) and sub-delims (!$&โ()*+,;=) except those allowed. For userinfo, we encode: : @ / ? # [ ] and space, plus control characters.
Functionsยง
- deserialize_
outbound_ ๐proxy - Deserialize an outbound proxy, treating empty strings as unset.
- encode_
userinfo ๐ - URL-encodes username and optional password for SOCKS proxy userinfo display.
- encode_
userinfo_ ๐http - URL-encodes username and optional password for HTTP CONNECT proxy userinfo display.
- encode_
userinfo_ ๐with_ scheme - URL-encodes username and optional password for a given scheme and address.
- percent_
encode_ ๐userinfo - Percent-encode a string for use in URI userinfo (username or password).