Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -0,0 +1,15 @@
|
|||
from typing import Protocol
|
||||
|
||||
|
||||
class HTTPProtocol(Protocol):
|
||||
"""Used for providing static type-checking when parsing through the http protocol"""
|
||||
|
||||
def on_message_begin(self) -> None: ...
|
||||
def on_url(self, url: bytes) -> None: ...
|
||||
def on_header(self, name: bytes, value: bytes) -> None: ...
|
||||
def on_headers_complete(self) -> None: ...
|
||||
def on_body(self, body: bytes) -> None: ...
|
||||
def on_message_complete(self) -> None: ...
|
||||
def on_chunk_header(self) -> None: ...
|
||||
def on_chunk_complete(self) -> None: ...
|
||||
def on_status(self, status: bytes) -> None: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue