Package ratpack.core.websocket
Interface WebSocket
-
public interface WebSocket
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
void
close(int statusCode, String reason)
boolean
isOpen()
void
send(io.netty.buffer.ByteBuf text)
void
send(String text)
-
-
-
Method Detail
-
close
@NonBlocking void close()
-
close
@NonBlocking void close(int statusCode, String reason)
-
isOpen
boolean isOpen()
-
send
@NonBlocking void send(String text)
-
send
@NonBlocking void send(io.netty.buffer.ByteBuf text)
-
-