Send a JSON-RPC notification (no response expected).
(self, method: str, params: Optional[dict] = None)
| 136 | return response.get("result") |
| 137 | |
| 138 | def notify(self, method: str, params: Optional[dict] = None) -> None: |
| 139 | """Send a JSON-RPC notification (no response expected).""" |
| 140 | self._send({"jsonrpc": "2.0", "method": method, "params": params or {}}) |
| 141 | |
| 142 | def raw_send(self, obj: dict) -> dict: |
| 143 | """Send a raw object and return the raw response (no error raising).""" |
no test coverage detected