Available on crate feature
net only.Modules§
- address
- network address types and utilities
- apple
Apple - 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
dial9support inrama-netand 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§
- Authority
Input Ext - Read the routing authority (
host[:port]) of a service input. - Client
Ip - Best-effort client-IP accessor, implemented per request/input type.
- Connector
Target Input Ext - Resolve the transport address (
host:port) to connect to: the routingauthoritywith the applicationprotocol’s default port as the port fallback. - Http
Version Input Ext - Read the negotiated HTTP
Versionof a service input. - Path
Input Ext - Read the URI path of a service input.
- Protocol
Input Ext - Read the application-layer
Protocol(scheme) of a service input. - Transport
Protocol Input Ext - Read the transport-layer
TransportProtocol(TCP/UDP) of a service input. - UriInput
Ext - Read the
Uriof a service input that carries one.