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
httpcrate.
Structs§
- Body
- A request body. Endpoint builders create these; use them directly with
Transport::sendorRequest::body. - Certificate
- A trusted root certificate for the Kibana server.
- Method
- The Request Method (VERB)
- Response
- A successful response.
Tis the typejsondecodes into. - Status
Code - An HTTP status code (
status-codein RFC 9110 et al.). - Transport
- Sends requests to one Kibana address. Clones share the connection pool.
- Transport
Builder - 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
Debugoutput. - 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_nodeexamples and local development stacks.