Expand description
Health-aware gateway routing and an Actix/Reqwest reverse proxy.
Structs§
- Gateway
Config - File-loadable configuration for the HTTP gateway runtime.
- Gateway
Middleware Next - The remainder of an upstream middleware chain and its network dispatch.
- Gateway
Middleware Request - An outbound request passed through a configured gateway middleware chain.
- Gateway
Proxy - An HTTP reverse proxy backed by a
GatewayRouter. - Gateway
Route - A configured HTTP path prefix and its upstream endpoints.
- Gateway
Router - Selects the most specific route and distributes requests across its upstreams.
- Gateway
Server - Configuration-driven Actix gateway with bounded graceful draining.
- Http
Binding - An explicit HTTP binding for a fully-qualified protobuf method.
- Transcoder
- A cloneable Actix handler state that dynamically invokes generated-independent gRPC methods.
- Transcoder
Builder - Builds a descriptor-driven transcoder from a compiled
FileDescriptorSet.
Enums§
- Gateway
Config Error - Configuration loading or validation failure.
- Gateway
Error - Errors produced by invalid gateway routing configuration.
- Http
Verb - HTTP verbs supported by protobuf HTTP bindings.
- Transcode
Error - Configuration, JSON conversion, route, or upstream failures from the transcoder.
Traits§
- Gateway
Middleware - Type-erased application policy registered by name on
GatewayProxyorGatewayServer.
Functions§
- grpc_
status_ to_ http - Maps canonical gRPC status codes to their HTTP equivalents.
- proxy
- Actix handler for mounting a
GatewayProxystored inweb::Data. - transcode
- Actix handler for a
Transcoderstored inweb::Data.
Type Aliases§
- Gateway
Middleware Future - The boxed future returned by application-defined upstream middleware.