Add details to a WebSocket request

You can add details to your request, for example, to send more parameters and headers. You can also configure the connection. Select the Params, Headers, or Settings tab to make changes.

You can't change request details while you're connected. You must make any changes before you connect, or select Disconnect to stop the current connection.

Change protocols

To change the protocol for a new request, do the following:

  1. Select New in the sidebar.
  2. Select a request protocol, or select + to open a new tab.
  3. Select the protocol dropdown list next to the request's name.
  4. Select a different request protocol.

You can't change the request protocol after you select Save.

Send parameters

On the Params tab, add any parameters you'd like to append to the WebSocket URL. This works similarly to sending parameters in a REST request.

Configure headers

On the Headers tab, enter any headers you'd like to send with your message. This works similarly to configuring request headers in a REST request.

Configure request settings

The following settings can be configured for your WebSocket request:

SettingDescription
Client versionThe Socket.IO client version to be used to connect with the server. (Socket.IO only)
Handshake pathThe server-side path to be captured. (Socket.IO only)
Handshake request timeoutHow long the handshake request waits before timing out, in milliseconds. This is reset after every redirection.
Reconnection attemptsThe maximum number of reconnection attempts before disconnecting.
Reconnection intervalsThe period in milliseconds between reconnection attempts.

Last modified: 2023/11/01