コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 4 of about 4 for HTTPConnection (0.002 sec.)
HTTPConnection class 12371
HTTPConnection class When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an HTTPConnection instead of a Request or a WebSocket . You can import it from fastapi. ... requests : from fastapi.requests import HTTPConnection ::: fastapi.requests.HTTPConnection ...
https://man.mtool.work/fastapi/0.115/reference/httpconnection/
Request class 8617
Request class You can declare a parameter in a path operation function or dependency to be of type Request and then you can access the raw request object directly, without any validation, etc. You can import it directly from fastapi : from ... t to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an HTTPConnection instead of a Request or a WebSocket . ::: fastapi.Request ...
https://man.mtool.work/fastapi/0.115/reference/request/
WebSockets 8358
WebSockets When defining WebSockets, you normally declare a parameter of type WebSocket and with it you can read data from the client and send data to it. It is provided directly by Starlette, but you can import it from fastapi : from fasta ... t to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an HTTPConnection instead of a Request or a WebSocket . ::: fastapi.WebSocket options: members: - scope - app - url - base_url - headers - q ...
https://man.mtool.work/fastapi/0.115/reference/websockets/
Release Notes 7581
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... r docs/de/docs/reference/websockets.md . PR #10822 by @nilslindemann . ? Add German translation for docs/de/docs/reference/httpconnection.md . PR #10823 by @nilslindemann . ? Add German translation for docs/de/docs/reference/response.md . PR #10824 by @nilslin ...
https://man.mtool.work/fastapi/0.115/release-notes/
PREV 1 NEXT