| Constructor and Description |
|---|
WebSocketBlockingConnection(Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] data,
int offset,
int length)
Send a binary message.
|
void |
write(String message)
Send text message.
|
public WebSocketBlockingConnection(Session session)
public void write(byte[] data,
int offset,
int length)
throws IOException
Basic usage, results in a blocking write.
IOExceptionpublic void write(String message) throws IOException
Basic usage, results in a blocking write.
IOExceptionCopyright © 1995-2023 Mort Bay Consulting. All Rights Reserved.