MCPcopy Create free account
hub / github.com/EasyIME/PIME / __init__

Method __init__

python/python3/tornado/websocket.py:218–228  ·  view source on GitHub ↗
(
        self,
        application: tornado.web.Application,
        request: httputil.HTTPServerRequest,
        **kwargs: Any
    )

Source from the content-addressed store, hash-verified

216 """
217
218 def __init__(
219 self,
220 application: tornado.web.Application,
221 request: httputil.HTTPServerRequest,
222 **kwargs: Any
223 ) -> None:
224 super().__init__(application, request, **kwargs)
225 self.ws_connection = None # type: Optional[WebSocketProtocol]
226 self.close_code = None # type: Optional[int]
227 self.close_reason = None # type: Optional[str]
228 self._on_close_called = False
229
230 async def get(self, *args: Any, **kwargs: Any) -> None:
231 self.open_args = args

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected