Register the elicitation handler for this session. Args: handler: The handler to invoke when the server dispatches an elicitation request, or None to remove the handler.
(self, handler: ElicitationHandler | None)
| 2301 | self._client_session_apis.provider_token = _BearerTokenProviderAdapter(self) |
| 2302 | |
| 2303 | def _register_elicitation_handler(self, handler: ElicitationHandler | None) -> None: |
| 2304 | """Register the elicitation handler for this session. |
| 2305 | |
| 2306 | Args: |
| 2307 | handler: The handler to invoke when the server dispatches an |
| 2308 | elicitation request, or None to remove the handler. |
| 2309 | """ |
| 2310 | with self._elicitation_handler_lock: |
| 2311 | self._elicitation_handler = handler |
| 2312 | |
| 2313 | def _register_mcp_auth_handler(self, handler: McpAuthHandler | None) -> None: |
| 2314 | """Register the MCP auth handler for this session.""" |
no outgoing calls
no test coverage detected