Namespace Titanium.Web.Proxy
Classes
ProxyLimits
Reference values for a handful of resource-limit defaults, kept here for documentation and cross-checking purposes.
ProxyServer
Translates an HTTP/1.1 client connection onto an h2-only origin (Http2
with AllowHttpProtocolTranslation enabled - see ResolveHttp2ForClientAsync(SessionEventArgsBase, bool, string, int, string, int?, UpstreamHttpProtocol, bool, bool, CancellationToken, bool)), leasing
one h2 stream per HTTP/1.1 request from a shared Titanium.Web.Proxy.Http2.Http2OriginConnection via
Titanium.Web.Proxy.ProxyServer.Http2OriginConnectionPool rather than opening a new TCP/TLS connection for every request.
SystemProxySettings
Options applied when configuring an explicit endpoint as the Windows system proxy.
WebSocketDecoder
Reassembles raw bytes relayed after a WebSocket upgrade (see
SessionEventArgs.WebSocketDecoderSend/WebSocketDecoderReceive, fed from the session's
DataSent/DataReceived events) into individual WebSocketFrames, handling
frames split across multiple reads and unmasking masked (client-to-server) payloads. Use one
instance per direction of a single connection - frames may span calls, so state from one call feeds
the next.
WebSocketFrame
A single decoded WebSocket frame, as produced by Decode(byte[], int, int).
WebSocketFrameEncoder
Encodes WebSocketFrame values to RFC 6455 wire bytes.
WebSocketFrameWriter
Injects WebSocket frames onto one side of an intercepted tunnel.
WebSocketProtocolException
Thrown by WebSocketDecoder when a frame's declared payload length violates RFC 6455 section 5.2 (the reserved high bit of a 64-bit extended length is set, or the declared length exceeds MaxValue and can never be buffered as a single in-memory frame), or when it exceeds the caller-configured per-frame payload limit (RFC 6455 section 7.4.1, close code 1009).
Raised the moment the declared length is known - before any of that frame's payload bytes are copied into the decoder's reassembly buffer - so an attacker who declares an oversized length and then trickles bytes in slowly cannot force unbounded buffer growth while the decoder waits for a frame that will never legitimately complete.
Enums
SystemProxyBypassRuleMode
Controls how configured bypass rules are combined with the current Windows system proxy bypass list.
SystemProxyLoopbackPlacement
Controls where the <-loopback> rule is placed within the Windows system proxy bypass list.