the first example of server websocket endpoint.