mirror of https://github.com/tiangolo/fastapi.git
🌐 Add German translation for `docs/de/docs/reference/httpconnection.md` (#10823)
This commit is contained in:
parent
2a9aa8d70d
commit
8a01c8dbd0
|
|
@ -0,0 +1,11 @@
|
||||||
|
# `HTTPConnection`-Klasse
|
||||||
|
|
||||||
|
Wenn Sie Abhängigkeiten definieren möchten, die sowohl mit HTTP als auch mit WebSockets kompatibel sein sollen, können Sie einen Parameter definieren, der eine `HTTPConnection` anstelle eines `Request` oder eines `WebSocket` akzeptiert.
|
||||||
|
|
||||||
|
Sie können diese von `fastapi.requests` importieren:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from fastapi.requests import HTTPConnection
|
||||||
|
```
|
||||||
|
|
||||||
|
::: fastapi.requests.HTTPConnection
|
||||||
Loading…
Reference in New Issue