Module http

Source
Expand description

Embedded HTTP server.

environmentd embeds an HTTP server for introspection into the running process. At the moment, its primary exports are Prometheus metrics, heap profiles, and catalog dumps.

Modules§

catalog 🔒
Catalog introspection HTTP endpoints.
console 🔒
Console Impersonation HTTP endpoint.
memory 🔒
metrics 🔒
Metrics tracked for environmentds HTTP servers.
probe 🔒
Health check HTTP endpoints.
prometheus 🔒
root 🔒
HTTP endpoints for the homepage and static files.
sql 🔒
webhook 🔒
Helpers for handling events from a Webhook source.

Structs§

AuthedClient
AuthedUser
BaseRouterConfig 🔒
Configuration for base_router.
HttpConfig
HttpServer
InternalHttpConfig
InternalHttpServer
Metrics
ReloadingTlsConfig
SqlResponse
The response to a SqlRequest.
WebhookState
WsState

Enums§

AuthError 🔒
ConnProtocol 🔒
Credentials 🔒
TlsMode
WebSocketAuth
WebSocketResponse

Constants§

MAX_REQUEST_SIZE
Maximum allowed size for a request.

Traits§

DefaultLayers 🔒
Default layers that should be applied to all routes, and should get applied to both the internal http and external http routers.

Functions§

auth 🔒
base_router 🔒
Returns the router for routes that are shared between the internal and external HTTP servers.
handle_leader_promote
handle_leader_skip_catchup
handle_leader_status
handle_load_error 🔒
Glue code to make tower work with axum.
http_auth 🔒
init_ws 🔒
internal_http_auth 🔒

Type Aliases§

Delayed 🔒