Search⌘ K

Upgrading WebSocket Connections

Lets try to upgrade our WebSocket by following step by step instructions.

How to generate cURL

The easiest way to generate the cURL request is as follows:

  1. First, right-click the request labelled websocket?token=undefined&vsn=2.0.0 under the “Name” column and then expand Copy.

  2. Then select the “Copy as cURL” option. This will copy a cURL request to a ws protocol URL.

  3. Paste the cURL request into your favorite editor and replace ws:// with http://. ...