- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,174 for respond (0.2 sec)
-
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/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) -
src/main/java/jcifs/util/transport/Response.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util.transport; /** * */ public interface Response extends Message { /** * * @return whether the response is received */ boolean isReceived (); /** * Set received status */ void received (); /** * Unset received status
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.3K bytes - Viewed (0) -
docs/de/docs/reference/response.md
# `Response`-Klasse Sie können einen Parameter in einer *Pfadoperation-Funktion* oder einer Abhängigkeit als `Response` deklarieren und dann Daten für die Response wie Header oder Cookies festlegen. Diese können Sie auch direkt verwenden, um eine Instanz davon zu erstellen und diese von Ihren *Pfadoperationen* zurückzugeben. Sie können sie direkt von `fastapi` importieren: ```python from fastapi import Response ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:16:03 GMT 2024 - 451 bytes - Viewed (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. You can import it directly from `fastapi`: ```python from fastapi import Response ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 397 bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Response.java
package jcifs.smb1.util.transport; public abstract class Response { public long expiration; public boolean isReceived;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 130 bytes - Viewed (0) -
docs/de/docs/advanced/response-cookies.md
## Eine `Response` direkt zurückgeben Sie können Cookies auch erstellen, wenn Sie eine `Response` direkt in Ihrem Code zurückgeben. Dazu können Sie eine Response erstellen, wie unter [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} beschrieben. Setzen Sie dann Cookies darin und geben Sie sie dann zurück: ```Python hl_lines="10-12" {!../../../docs_src/response_cookies/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:17 GMT 2024 - 2.5K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
# Response Cookies ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function*. And then you can set cookies in that *temporal* response object. ```Python hl_lines="1 8-9" {!../../../docs_src/response_cookies/tutorial002.py!} ``` And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-response.md
!!! info "提示" 当然,实际的 `Content-Type` 头,状态码等等,将来自于你返回的 `Response` 对象。 ### OpenAPI 中的文档和重载 `Response` 如果你想要在函数内重载响应,但是同时在 OpenAPI 中文档化「媒体类型」,你可以使用 `response_class` 参数并返回一个 `Response` 对象。 接着 `response_class` 参数只会被用来文档化 OpenAPI 的 *路径操作*,你的 `Response` 用来返回响应。 ### 直接返回 `HTMLResponse` 比如像这样: ```Python hl_lines="7 23 21"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 7.8K bytes - Viewed (1) -
docs/de/docs/advanced/response-directly.md
Sehen wir uns nun an, wie Sie damit eine benutzerdefinierte Response zurückgeben können. Nehmen wir an, Sie möchten eine <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>-Response zurückgeben. Sie könnten Ihren XML-Inhalt als String in eine `Response` einfügen und sie zurückgeben: ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## Anmerkungen
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:36 GMT 2024 - 3.5K bytes - Viewed (0)