Package | Description |
---|---|
io.vertx.reactivex.core.http |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<WebSocketFrame> |
WebSocketFrame.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame |
WebSocketFrame.binaryFrame(Buffer data,
boolean isFinal)
Create a binary WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.continuationFrame(Buffer data,
boolean isFinal)
Create a continuation frame
|
static WebSocketFrame |
WebSocketFrame.newInstance(WebSocketFrame arg) |
static WebSocketFrame |
WebSocketFrame.pingFrame(Buffer data)
Create a ping WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.pongFrame(Buffer data)
Create a pong WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.textFrame(String str,
boolean isFinal)
Create a text WebSocket frame.
|
Modifier and Type | Method and Description |
---|---|
Completable |
ServerWebSocket.rxWriteFrame(WebSocketFrame frame) |
Completable |
WebSocket.rxWriteFrame(WebSocketFrame frame) |
ServerWebSocket |
ServerWebSocket.writeFrame(WebSocketFrame frame) |
WebSocket |
WebSocket.writeFrame(WebSocketFrame frame) |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame)
Write a WebSocket frame to the connection
|
ServerWebSocket |
ServerWebSocket.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler) |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler)
Same as
WebSocketBase.writeFrame(io.vertx.reactivex.core.http.WebSocketFrame) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
ServerWebSocket |
ServerWebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocket |
WebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocketBase |
WebSocketBase.frameHandler(Handler<WebSocketFrame> handler)
Set a frame handler on the connection.
|
Copyright © 2023 Eclipse. All rights reserved.