MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / default_response

Function default_response

server.py:517–526  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515 logger.debug("Req --> " + raw)
516
517 def default_response():
518 if "id" in message:
519 return {
520 "jsonrpc": "2.0",
521 "id": message["id"],
522 "error": {
523 "code": 123,
524 "message": "unhandled method {}".format(message["method"]),
525 },
526 }
527
528 with mainlock:
529 response = None

Callers 1

serveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected