Uses of Interface
io.quarkus.websockets.next.BasicWebSocketConnector
Packages that use BasicWebSocketConnector
-
Uses of BasicWebSocketConnector in io.quarkus.websockets.next
Methods in io.quarkus.websockets.next that return BasicWebSocketConnectorModifier and TypeMethodDescriptionAdd a header used during the initial handshake request.BasicWebSocketConnector.addSubprotocol(String value) Add the subprotocol.default BasicWebSocketConnectorSet the base URI.Set the base URI.static BasicWebSocketConnectorBasicWebSocketConnector.create()Obtains a new basic connector.BasicWebSocketConnector.executionModel(BasicWebSocketConnector.ExecutionModel model) Set the execution model for callback handlers.BasicWebSocketConnector.onBinaryMessage(BiConsumer<WebSocketClientConnection, io.vertx.core.buffer.Buffer> consumer) Set a callback to be invoked when a binary message is received from the server.BasicWebSocketConnector.onClose(BiConsumer<WebSocketClientConnection, CloseReason> consumer) Set a callback to be invoked when a connection to the server is closed.BasicWebSocketConnector.onError(BiConsumer<WebSocketClientConnection, Throwable> consumer) Set a callback to be invoked when an error occurs.BasicWebSocketConnector.onOpen(Consumer<WebSocketClientConnection> consumer) Set a callback to be invoked when a connection to the server is open.BasicWebSocketConnector.onPong(BiConsumer<WebSocketClientConnection, io.vertx.core.buffer.Buffer> consumer) Set a callback to be invoked when a pong message is received from the server.BasicWebSocketConnector.onTextMessage(BiConsumer<WebSocketClientConnection, String> consumer) Set a callback to be invoked when a text message is received from the server.Set the path that should be appended to the path of the URI set bybaseUri(URI).Set the path param. -
Uses of BasicWebSocketConnector in io.quarkus.websockets.next.runtime
Classes in io.quarkus.websockets.next.runtime that implement BasicWebSocketConnectorMethods in io.quarkus.websockets.next.runtime that return BasicWebSocketConnectorModifier and TypeMethodDescriptionBasicWebSocketConnectorImpl.executionModel(BasicWebSocketConnector.ExecutionModel model) BasicWebSocketConnectorImpl.onBinaryMessage(BiConsumer<WebSocketClientConnection, io.vertx.core.buffer.Buffer> consumer) BasicWebSocketConnectorImpl.onClose(BiConsumer<WebSocketClientConnection, CloseReason> consumer) BasicWebSocketConnectorImpl.onError(BiConsumer<WebSocketClientConnection, Throwable> consumer) BasicWebSocketConnectorImpl.onOpen(Consumer<WebSocketClientConnection> consumer) BasicWebSocketConnectorImpl.onPong(BiConsumer<WebSocketClientConnection, io.vertx.core.buffer.Buffer> consumer) BasicWebSocketConnectorImpl.onTextMessage(BiConsumer<WebSocketClientConnection, String> consumer)