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

# With Streaming • Rust AI Agent SDK

> with_streaming: Enable streaming

# with\_streaming

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**A2AAgentCard**](../classes/A2AAgentCard) class in the [**ui**](../modules/ui) module.

Enable streaming

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def with_streaming(mut self) -> Self
```

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Streaming" icon="wave-square" href="/docs/rust/streaming" />

  <Card title="Rust Realtime" icon="clock" href="/docs/rust/realtime" />

  <Card title="Rust Display" icon="display" href="/docs/rust/display" />
</CardGroup>
