Skip to content

Commit 41b4074

Browse files
authored
Merge pull request #57 from dansgithubuser/master
clarify that address member is available in all callbacks
2 parents dab661a + 3ad85ac commit 41b4074

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ handleConnected: called when handshake is complete
106106
- self.address: TCP address port tuple of the endpoint
107107

108108
handleClose: called when the endpoint is closed or there is an error
109+
- self.address: TCP address port tuple of the endpoint
109110

110111
handleMessage: gets called when there is an incoming message from the client endpoint
112+
- self.address: TCP address port tuple of the endpoint
111113
- self.opcode: the WebSocket frame type (STREAM, TEXT, BINARY)
112114
- self.data: bytearray (BINARY frame) or unicode string payload (TEXT frame)
113115
- self.request: HTTP details from the WebSocket handshake (refer to BaseHTTPRequestHandler)

0 commit comments

Comments
 (0)