dissertation/typings/simple_websocket/asgi.pyi
2024-11-25 20:32:11 +00:00

24 lines
449 B
Python

"""
This type stub file was generated by pyright.
"""
class WebSocketASGI:
def __init__(self, scope, receive, send, subprotocols=...) -> None:
...
@classmethod
async def accept(cls, scope, receive, send, subprotocols=...): # -> WebSocketASGI:
...
async def receive(self):
...
async def send(self, data): # -> None:
...
async def close(self): # -> None:
...