Send a JSON-RPC notification (no id, no response expected).
(self, method: str, params: dict[str, Any])
| 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 |
no test coverage detected