handleJsonRpcStream

open override fun handleJsonRpcStream(request: <Error class: unknown class><out <Error class: unknown class>>): <Error class: unknown class>

Handles a streaming JSON-RPC request using Server-Sent Events (SSE). This method is called when a client requests a streaming response for methods like "message/stream".

The default implementation throws UnsupportedOperationException as streaming is not supported. Override this method in implementations that support streaming responses.

Return

An SseEmitter that will be used to send streaming events to the client

Parameters

request

The JSON-RPC request containing the method name, parameters, and request ID

See also

SseEmitter
StreamingJSONRPCRequest

Throws

if streaming is not supported by this implementation