IBMStreams com.ibm.streamsx.inet Toolkit > com.ibm.streamsx.inet 2.9.6 > com.ibm.streamsx.inet.wsserver > WebSocketSend
Operator transmits tuples recieved on the input port via WebSocket protocol to connected clients.Upon startup, starts WebSocket Server. As tuple arrives on the input port they're converted intoJSON formatted messages and transmitted to all currently connected clients. Clients can connect and disconnect at anytime.
Port that clients connect to and tuples formatted as JSON message are transmitted over.
Required: port
Optional: batchSize
Set the batch size.
Port that clients connect to and tuples formatted as JSON message are transmitted over.