Interface MessageHandler.Partial<T>
- Type Parameters:
T- The type of message data
- All Superinterfaces:
MessageHandler
- Enclosing interface:
MessageHandler
A message handler that receives partial (fragmented) messages. The handler is called
multiple times for a single WebSocket message if it arrives in fragments.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MessageHandler
MessageHandler.Partial<T>, MessageHandler.Whole<T> -
Method Summary
-
Method Details
-
onMessage
Called when part of a message is available to be processed.- Parameters:
messagePart- The message partlast-trueif this is the last part of this message, elsefalse
-