How-to guides
Directions for a specific goal.
- Push updates over a WebSocket Set up wicket-native-websocket, handle messages from the browser and push component updates to a page from a background thread.
- Test WebSocket behaviors Send messages to a page's WebSocket behavior and check what it pushes back with WebSocketTester, without a servlet container.
Reference
The classes, tags and settings, described.
- WebSocket JavaScript API The Wicket.WebSocket functions and the events your JavaScript can subscribe to on a page with a WebSocket behavior.
Explanation
Why Wicket works the way it does.
- How native WebSockets work How Wicket connects a page to a WebSocket, routes messages to components, pushes updates from other threads, and what that means for sessions and locking.