File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ class ASGIApp(engineio.ASGIApp): # pragma: no cover
15
15
:param other_asgi_app: A separate ASGI app that receives all other traffic.
16
16
:param socketio_path: The endpoint where the Socket.IO application should
17
17
be installed. The default value is appropriate for
18
- most cases.
18
+ most cases. With a value of ``None``, all incoming
19
+ traffic is directed to the Socket.IO server, with the
20
+ assumption that routing, if necessary, is handled by
21
+ a different layer. When this option is set to
22
+ ``None``, ``static_files`` and ``other_asgi_app`` are
23
+ ignored.
19
24
:param on_startup: function to be called on application startup; can be
20
25
coroutine
21
26
:param on_shutdown: function to be called on application shutdown; can be
@@ -27,7 +32,7 @@ class ASGIApp(engineio.ASGIApp): # pragma: no cover
27
32
import uvicorn
28
33
29
34
sio = socketio.AsyncServer()
30
- app = engineio .ASGIApp(sio, static_files={
35
+ app = socketio .ASGIApp(sio, static_files={
31
36
'/': 'index.html',
32
37
'/static': './public',
33
38
})
You can’t perform that action at this time.
0 commit comments