Skip to main content

Module http_gateway

Module http_gateway 

Source
Expand description

http server that redirects queries to the analytics server translating the response into json

Structs§

GatewayConfig
Combines the CLI-derived FlightSQL URL with the env-derived header config. Built once at startup and layered as an Extension, so handle_query never reads the environment on the request path.
HeaderForwardingConfig
Configuration for forwarding HTTP headers to FlightSQL backend
HealthResponse
QueryRequest

Enums§

GatewayError

Functions§

build_origin_metadata
Build origin tracking metadata for FlightSQL queries Augments the client type by appending “+gateway” to preserve the full client chain
handle_health
handle_query
register_routes