Learn how to implement real-time features using Whop’s websocket API
websocket.broadcast
function.
websocket.connect()
.
whopApi.sendWebsocketMessage
on the server.
whopApi.sendWebsocketMessage
function.
WhopWebsocketProvider
component to wrap your app and provide the websocket client and status to your components.