public.javadoc.org.spincast.plugins.httpclient.websocket.WebsocketClientWriter.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
WebsocketClientWriter (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.httpclient.websocket
Interface WebsocketClientWriter
-
- All Known Subinterfaces:
- SpincastWebsocketClientWriter
public interface WebsocketClientWriter
A Websocket client writer
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
closeConnection()
Closes the WebSocket connection.
void
sendMessage(byte[] message)
Sends a binary message to the endpoint
void
sendMessage(String message)
Sends a text message to the endpoint.
-
-
Method Detail
-
sendMessage
void sendMessage(String message)
Sends a text message to the endpoint.
-
sendMessage
void sendMessage(byte[] message)
Sends a binary message to the endpoint
-
closeConnection
void closeConnection()
Closes the WebSocket connection.
Copyright © 2019. All rights reserved.