-
Jörg Richter authored
BREAKING CHANGE Change 3 WebSocketService methods: ``` void messageToAll(String pluginUri, String message) -> void sendToAll(String message) ``` ``` void messageToAllButOne(HttpServletRequest request, String pluginUri, String message) -> void sendToAllButOrigin(String message) ``` ``` void messageToOne(HttpServletRequest request, String pluginUri, String message) -> void sendToOrigin(String message); ``` Besides the 3 new method names note that both the "request" and "pluginUri" arguments are not needed anymore. This is now automatic. 1 new WebSocketService method: ``` void sendToSome(String message, Predicate<WebSocketConnection> connectionFilter) ``` You can decide to which connections to send the message by providing a predicate function (use a lambda) that decides per connection.
6671936d