Interface WebsocketClientWriter
- All Known Subinterfaces:
- SpincastWebsocketClientWriter
public interface WebsocketClientWriter
A Websocket client writer
- 
Method SummaryModifier and TypeMethodDescriptionvoidCloses the WebSocket connection.voidsendMessage(byte[] message) Sends a binary message to the endpointvoidsendMessage(String message) Sends a text message to the endpoint.
- 
Method Details- 
sendMessageSends a text message to the endpoint.
- 
sendMessagevoid sendMessage(byte[] message) Sends a binary message to the endpoint
- 
closeConnectionvoid closeConnection()Closes the WebSocket connection.
 
-