public interface TransportServer<T> extends Action<T>
TransportServer consumes resource like ServerHttpExchange or
ServerWebSocket and produces ServerTransport following the
corresponding Vibe transport protocol.
Instances may be accessed by multiple threads.
| Modifier and Type | Method and Description |
|---|---|
TransportServer<T> |
transportAction(Action<ServerTransport> action)
Registers an action to be called when the transport has been opened.
|
TransportServer<T> transportAction(Action<ServerTransport> action)
Copyright 2014, The Vibe Project