BinaryData Event
Passes a received chunk of binary data to the application.
Syntax
public open class DefaultWebsocketclientEventListener : WebsocketclientEventListener { ... public override fun binaryData(e: WebsocketclientBinaryDataEvent) {} ... } public class WebsocketclientBinaryDataEvent { val buffer: ByteArray? val last: Boolean }
Remarks
The component fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.