mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-10 10:01:06 -04:00
🌐 Add Korean translation for docs/ko/docs/advanced/testing-websockets.md (#12739)
This commit is contained in:
15
docs/ko/docs/advanced/testing-websockets.md
Normal file
15
docs/ko/docs/advanced/testing-websockets.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# WebSocket 테스트하기
|
||||
|
||||
`TestClient`를 사용하여 WebSocket을 테스트할 수 있습니다.
|
||||
|
||||
이를 위해 `with` 문에서 `TestClient`를 사용하여 WebSocket에 연결합니다:
|
||||
|
||||
```Python hl_lines="27-31"
|
||||
{!../../docs_src/app_testing/tutorial002.py!}
|
||||
```
|
||||
|
||||
/// note | 참고
|
||||
|
||||
자세한 내용은 Starlette의 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank"> WebSocket 테스트</a>에 관한 설명서를 참고하시길 바랍니다.
|
||||
|
||||
///
|
||||
Reference in New Issue
Block a user