Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Dec 15, 2024
1 parent a4dfbf1 commit 2d28358
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs_src/src/pages/documentation/api_reference/streaming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ If you're coming from [File Handling](/documentation/api_reference/file_handling

Like Batman's gadgets streaming from the Batcave to his utility belt, Robyn provides built-in support for streaming responses. This allows you to send data in chunks, perfect for large files, real-time updates, and server-sent events.

<Callout type="info">
Streaming responses are perfect for handling large datasets or real-time updates without consuming excessive memory.
</Callout>
Streaming responses are perfect for handling large datasets or real-time updates without consuming excessive memory.

## Response

Expand Down Expand Up @@ -186,9 +184,7 @@ headers = {

Even Batman needs contingency plans:

<Callout type="warning">
Always handle errors gracefully in your streaming responses to prevent connection hangs.
</Callout>

```python
async def generator():
Expand Down

0 comments on commit 2d28358

Please sign in to comment.