MCPcopy Create free account
hub / github.com/python-websockets/websockets / not_found

Method not_found

src/websockets/sync/router.py:187–188  ·  view source on GitHub ↗
(self, connection: ServerConnection)

Source from the content-addressed store, hash-verified

185 return response
186
187 def not_found(self, connection: ServerConnection) -> Response:
188 return connection.respond(http.HTTPStatus.NOT_FOUND, "Not Found")
189
190 def route_request(
191 self, connection: ServerConnection, request: Request

Callers 1

route_requestMethod · 0.95

Calls 1

respondMethod · 0.45

Tested by

no test coverage detected