Skip to main content

Module net

Module net 

Source
Available on crate feature net only.

Modules§

address
network address types and utilities
appleApple
Apple (vendor) specific network modules
asn
autonomous system number (ASN)
client
generic client net logic
client_ip
Resolve the client IP of a request or connection from its extensions.
conn
Connection utilities
dial9
Shared helpers for dial9 support in rama-net and dependent crates.
extensions
Best-effort breadcrumbs marking that a stream has been transformed, such as moving into a decoding stream or lifted as a multiplex stream. Inserted by services that decode / terminate / multiplex an outer layer; observed by code that wants to either:
forwarded
rama support for the “Forwarded HTTP Extension”
http
http net support added as part of rama’s net support
input_ext
Small, single-concern accessor traits for reading routing/transport properties off a service input (an http request, a connect target, …).
mode
proxy
Proxy utilities and types.
socket
stream
Utilities that operate on a Stream
test_utils
transport
transport net logic
uri
First-class URI support for rama.
user
types and utilities for network users

Structs§

Protocol
Web protocols that are relevant to Rama.

Traits§

AuthorityInputExt
Read the routing authority (host[:port]) of a service input.
ClientIp
Best-effort client-IP accessor, implemented per request/input type.
ConnectorTargetInputExt
Resolve the transport address (host:port) to connect to: the routing authority with the application protocol’s default port as the port fallback.
HttpVersionInputExt
Read the negotiated HTTP Version of a service input.
PathInputExt
Read the URI path of a service input.
ProtocolInputExt
Read the application-layer Protocol (scheme) of a service input.
TransportProtocolInputExt
Read the transport-layer TransportProtocol (TCP/UDP) of a service input.
UriInputExt
Read the Uri of a service input that carries one.