Package | Description |
---|---|
io.vertx.rxjava3.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) |
Completable |
ClientWebSocket.rxWriteFrame(WebSocketFrame frame) |
Completable |
WebSocketBase.rxWriteFrame(WebSocketFrame frame)
Same as
WebSocketBase.writeFrame(io.vertx.rxjava3.core.http.WebSocketFrame) but with an handler called when the operation completes |
Completable |
ServerWebSocket.writeFrame(WebSocketFrame frame) |
Completable |
WebSocket.writeFrame(WebSocketFrame frame) |
Completable |
ClientWebSocket.writeFrame(WebSocketFrame frame) |
Completable |
WebSocketBase.writeFrame(WebSocketFrame frame)
Same as
WebSocketBase.writeFrame(io.vertx.rxjava3.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) |
ClientWebSocket |
ClientWebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocketBase |
WebSocketBase.frameHandler(Handler<WebSocketFrame> handler)
Set a frame handler on the connection.
|
Copyright © 2024 Eclipse. All rights reserved.