public class VertxBridge extends Object
| Constructor and Description |
|---|
VertxBridge(HttpServer server,
String path) |
| Modifier and Type | Method and Description |
|---|---|
VertxBridge |
httpAction(Action<ServerHttpExchange> action)
Adds an action to be called on HTTP request with
ServerHttpExchange. |
VertxBridge |
websocketAction(Action<ServerWebSocket> action)
Adds an action to be called on WebSocket connection with
ServerWebSocket in open state. |
public VertxBridge(HttpServer server, String path)
public VertxBridge httpAction(Action<ServerHttpExchange> action)
ServerHttpExchange.public VertxBridge websocketAction(Action<ServerWebSocket> action)
ServerWebSocket in open state.Copyright 2014, The Vibe Project