Module core

Source
Expand description

Core primitives – requests, responses, filters & routing.

Everything that physically moves through the proxy pipeline is defined in this module. No protocol-level logic lives here; that sits in server.rs (IO) and filters.rs (behaviour).

Structs§

ProxyCore
Core proxy server implementation.
ProxyRequest
Represents an HTTP request that can be processed by the proxy.
ProxyResponse
Represents an HTTP response returned by the proxy.
RequestContext
Context data that can be attached to a request and accessed by filters.
ResponseContext
Context data that can be attached to a response and accessed by filters.
Route
A route that the proxy can forward requests to.

Enums§

FilterType
Describes when a filter should be applied.
HttpMethod
HTTP methods supported by the proxy.
ProxyError
Errors that can occur during proxy operations.

Traits§

Filter
A filter that processes requests and responses.
Router
A router that matches requests to routes.