MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / send_notification

Method send_notification

benches/memory_usage.py:261–267  ·  view source on GitHub ↗

Send a JSON-RPC notification (no id, no response expected).

(self, method: str, params: dict[str, Any])

Source from the content-addressed store, hash-verified

259 return rid
260
261 def send_notification(self, method: str, params: dict[str, Any]) -> None:
262 """Send a JSON-RPC notification (no id, no response expected)."""
263 self._send_raw({
264 "jsonrpc": "2.0",
265 "method": method,
266 "params": params,
267 })
268
269 def wait_for_response(
270 self, request_id: int, timeout: float = 30

Callers 3

initializeMethod · 0.95
did_openMethod · 0.95
shutdownMethod · 0.95

Calls 1

_send_rawMethod · 0.95

Tested by

no test coverage detected