24 lines
449 B
Python
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:
|
|
...
|
|
|
|
|
|
|