receive

fun receive(session: WebSocketSession, frame: Frame)

Handles incoming WebSocket frames and processes RPC requests.

Parameters

session

the active WebSocket session through which the frame is received and responses are sent.

frame

the WebSocket frame containing the data to be processed. Only binary frames are supported.