aboutsummaryrefslogtreecommitdiffstats
path: root/typings/websocket.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'typings/websocket.pyi')
-rw-r--r--typings/websocket.pyi1
1 files changed, 1 insertions, 0 deletions
diff --git a/typings/websocket.pyi b/typings/websocket.pyi
index 0b9b769..3e5d683 100644
--- a/typings/websocket.pyi
+++ b/typings/websocket.pyi
@@ -51,6 +51,7 @@ class WebSocketConnectionClosedException(WebSocketException): ...
class WebSocket:
sock: socket
+ def send(self, payload: str, opcode: int = ABNF.OPCODE_TEXT) -> int: ...
def ping(self, payload: str = ...) -> None: ...
def recv_data(
self, control_frame: bool