# ConjureClient

## pub struct ConjureClient

A Conjure client that adds the [`AI_AGENT_HEADER`](https://dev.nominal.io/nominal-streaming/ref/rust/nominal_streaming/ai_agent.md#constant.AI_AGENT_HEADER "nominal_streaming::ai_agent::AI_AGENT_HEADER") header to every request.

## Implementations

### impl ConjureClient

#### pub fn new(inner: Client) -> Self

## Trait implementations

### impl AsyncClient for ConjureClient

#### type BodyWriter = BodyWriter

#### type ResponseBody = ResponseBody

#### fn send(&self, request: Request<AsyncRequestBody<'_, Self::BodyWriter>>) -> impl Future<Output = Result<Response<Self::ResponseBody>, Error>> + Send

**Derived**: [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`!UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`!RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
