Construct the WebSocketHandler, initially assigning the socket to None and the byte stream to a new Stream object.
(self)
| 16 | """Handler for containing the EVI WebSocket and associated socket handling behavior.""" |
| 17 | |
| 18 | def __init__(self): |
| 19 | """Construct the WebSocketHandler, initially assigning the socket to None and the byte stream to a new Stream object.""" |
| 20 | self.socket = None |
| 21 | self.byte_strs = Stream.new() |
| 22 | |
| 23 | def set_socket(self, socket: AsyncChatSocketClient): |
| 24 | """Set the socket. |
nothing calls this directly
no outgoing calls
no test coverage detected