> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# hyper_client

> hyper_client — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/hyper_client.rs#L1-L2051)&#x20;

High-performance HTTP client using hyper directly.This module provides a custom HTTP client that bypasses reqwest’s abstraction layers for maximum performance, particularly for bulk insert operations.

## Structs

[Http<wbr />Client<wbr />Config](https://docs.kinetica.com/content/api/rust/hyper_client/struct.HttpClientConfig.md)Connection settings for a [`HyperClient`](https://docs.kinetica.com/content/api/rust/hyper_client/struct.HyperClient).[Hyper<wbr />Client](https://docs.kinetica.com/content/api/rust/hyper_client/struct.HyperClient.md)High-performance HTTP client using hyper with connection pooling.[RawResponse](https://docs.kinetica.com/content/api/rust/hyper_client/struct.RawResponse.md)A response as received, before its status is interpreted.[Request<wbr />Headers](https://docs.kinetica.com/content/api/rust/hyper_client/struct.RequestHeaders.md)The headers sent with a request besides its content type.

## Constants

`pub const CONNECTION_TIME_TO_LIVE: Duration;`

How long after its opening a connection may be reused: one minute.

`pub const DEFAULT_CONNECTION_REQUEST_TIMEOUT: Duration;`

How long a request waits for a free connection: 5 minutes.

## Functions

[authorization\_<wbr />header](https://docs.kinetica.com/content/api/rust/hyper_client/fn.authorization_header.md)The `Authorization` header to send: `Bearer <token>` when an OAuth token is set, otherwise `Basic` with the credentials when the username or the password is set, and no header at all when neither is.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.