- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Desmond (0.14 sec)
-
docs/en/docs/tutorial/security/first-steps.md
If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly. You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image01.png"> You can type messages in the input box, and send them: <img src="/img/tutorial/websockets/image02.png"> And your **FastAPI** application with WebSockets will respond back: <img src="/img/tutorial/websockets/image03.png"> You can send (and receive) many messages: <img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/async.md
```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ``` --- If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`. --- If you just don't know, use normal `def`. ---
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23K bytes - Viewed (0)