vertx / io.vertx.rxjava.core.http / ServerWebSocket / binaryHandlerID

binaryHandlerID

open fun binaryHandlerID(): String

When a Websocket is created it automatically registers an event handler with the event bus - the ID of that handler is given by this method.

Given this ID, a different event loop can send a binary frame to that event handler using the event bus and that buffer will be received by this instance in its own event loop and written to the underlying connection. This allows you to write data to other WebSockets which are owned by different event loops.

Return
the binary handler id