Package ratpack.core.websocket
Interface WebSocketSpec<T>
-
public interface WebSocketSpec<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebSocketSpec<T>
maxLength(int maxLength)
WebSocketSpec<T>
onClose(Action<WebSocketClose<T>> action)
WebSocketSpec<T>
onMessage(Action<WebSocketMessage<T>> action)
WebSocketSpec<T>
path(String path)
-
-
-
Method Detail
-
maxLength
WebSocketSpec<T> maxLength(int maxLength)
-
path
WebSocketSpec<T> path(String path)
-
onClose
WebSocketSpec<T> onClose(Action<WebSocketClose<T>> action)
-
onMessage
WebSocketSpec<T> onMessage(Action<WebSocketMessage<T>> action)
-
-