A special case of `WebSocketDisconnect`, raised in the `TestClient` if the `WebSocket` is closed before being accepted with a `send_denial_response()`.
| 90 | |
| 91 | |
| 92 | class WebSocketDenialResponse( class="cm"># type: ignore[misc] |
| 93 | httpx.Response, |
| 94 | WebSocketDisconnect, |
| 95 | ): |
| 96 | class="st">""" |
| 97 | A special case of `WebSocketDisconnect`, raised in the `TestClient` if the |
| 98 | `WebSocket` is closed before being accepted with a `send_denial_response()`. |
| 99 | class="st">""" |
| 100 | |
| 101 | |
| 102 | class WebSocketTestSession: |
no outgoing calls