- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 92 for plumbus (0.06 seconds)
-
docs_src/server_sent_events/tutorial001_py310.py
from fastapi.sse import EventSourceResponse from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", description="A portal opening device."), Item(name="Meeseeks Box", description="A box that summons a Meeseeks."), ]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/stream-json-lines.md
## JSON Lines { #json-lines } 이런 경우에는 한 줄에 하나의 JSON 객체를 보내는 형식인 "**JSON Lines**"를 사용하는 것이 일반적입니다. 응답의 콘텐츠 타입은 `application/json` 대신 `application/jsonl`이고, 본문은 다음과 같습니다: ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:56:39 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/ko/docs/tutorial/server-sent-events.md
SSE는 서버에서 클라이언트로 HTTP를 통해 데이터를 스트리밍하기 위한 표준입니다. 각 이벤트는 `data`, `event`, `id`, `retry`와 같은 "필드"를 가진 작은 텍스트 블록이며, 빈 줄로 구분됩니다. 다음과 같습니다: ``` data: {"name": "Portal Gun", "price": 999.99} data: {"name": "Plumbus", "price": 32.99} ``` SSE는 AI 채팅 스트리밍, 실시간 알림, 로그와 관측성, 그리고 서버가 클라이언트로 업데이트를 푸시하는 여러 경우에 흔히 사용됩니다. /// tip | 팁 비디오나 오디오처럼 바이너리 데이터를 스트리밍하려면 고급 가이드: [데이터 스트리밍](../advanced/stream-data.md)을 확인하세요. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:56:39 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
Each event is a small text block with "fields" like `data`, `event`, `id`, and `retry`, separated by blank lines. It looks like this: ``` data: {"name": "Portal Gun", "price": 999.99} data: {"name": "Plumbus", "price": 32.99} ``` SSE is commonly used for AI chat streaming, live notifications, logs and observability, and other cases where the server pushes updates to the client. /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/en/docs/tutorial/stream-json-lines.md
A response would have a content type of `application/jsonl` (instead of `application/json`) and the body would be something like: ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/stream-json-lines.md
``` 它甚至可以是一个无限流,你可以一直持续发送数据。 ## JSON Lines { #json-lines } 在这些场景中,常见的做法是发送 “JSON Lines”,这是一种每行发送一个 JSON 对象的格式。 响应的内容类型是 `application/jsonl`(而不是 `application/json`),响应体类似这样: ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/server-sent-events.md
SSE 是一種透過 HTTP 從伺服器向用戶端串流傳送資料的標準。 每個事件都是一個小型文字區塊,包含 `data`、`event`、`id` 和 `retry` 等「欄位」,並以空白行分隔。 看起來像這樣: ``` data: {"name": "Portal Gun", "price": 999.99} data: {"name": "Plumbus", "price": 32.99} ``` SSE 常用於 AI 聊天串流、即時通知、日誌與可觀察性,以及其他由伺服器主動推送更新給用戶端的情境。 /// tip 如果你要串流二進位資料,例如影片或音訊,請參考進階指南:[串流資料](../advanced/stream-data.md)。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/server-sent-events.md
SSE は、HTTP 経由でサーバーからクライアントへデータをストリーミングするための標準です。 各イベントは、`data`、`event`、`id`、`retry` などの「フィールド」を含む小さなテキストブロックで、空行で区切られます。 次のようになります: ``` data: {"name": "Portal Gun", "price": 999.99} data: {"name": "Plumbus", "price": 32.99} ``` SSE は、AI チャットのストリーミング、ライブ通知、ログやオブザビリティなど、サーバーがクライアントへ更新をプッシュする用途で一般的に使われます。 /// tip | 豆知識 バイナリデータ(例: 動画や音声)をストリーミングしたい場合は、上級ガイド [データのストリーミング](../advanced/stream-data.md) を参照してください。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
* `UsersService` ### Client Method Names { #client-method-names } Right now, the generated method names like `createItemItemsPost` don't look very clean: ```TypeScript ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ``` ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
docs/zh-hant/docs/tutorial/stream-json-lines.md
它甚至可以是無限串流,你可以一直持續傳送資料。 ## JSON Lines { #json-lines } 在這些情況下,常見做法是傳送「**JSON Lines**」,這是一種每一行各包含一個 JSON 物件的格式。 回應的 content type 會是 `application/jsonl`(而不是 `application/json`),而本體內容會像這樣: ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.2K bytes - Click Count (0)