Skip to main content

Module http

Module http 

Source
Expand description

The HTTP transport and wire types shared by every endpoint.

Method, StatusCode and the headers types come from the http crate.

Modules§

headers
Header names, values and maps, re-exported from the http crate.

Structs§

Body
A request body. Endpoint builders create these; use them directly with Transport::send or Request::body.
Certificate
A trusted root certificate for the Kibana server.
Method
The Request Method (VERB)
Response
A successful response. T is the type json decodes into.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Transport
Sends requests to one Kibana address. Clones share the connection pool.
TransportBuilder
Configures a Transport. Requests have a 60 second timeout, a 10 second connect timeout and a 32 MiB response limit unless changed here.
Url
A parsed URL record.

Enums§

Credentials
Credentials are redacted from Debug output.
Empty
Marker for endpoints that answer without a body.
Raw
Marker for endpoints that return non-JSON bytes, such as NDJSON exports, YAML policies and diagnostic archives.

Constants§

DEFAULT_ADDRESS
The address used by Transport::single_node examples and local development stacks.