Apply websocket