Configure request setting
Prerequisites#
Add the server URL and set the message you'd like to send to the server.
Directions#
- Click the
Configtab right below the server URL. - In Firecamp you can find multiple options to configure WS connection. Following is the list of options with a specific purpose.
| # | Options | Description |
|---|---|---|
| 1. | Reconnect Desktop Only | [More from reference][1] |
| <!-- | 2. | auto_reconnect |
| 2. | reconnect_attempt | Defines how many times reconnect operation performed after connection closed/break. |
| 3. | reconnect_timeout | Defines the interval between each reconnects attempt. |
| 4. | protocols Desktop Only | Indicates sub-protocols, so that a single server can implement multiple WebSocket sub-protocols (for example, you might want one server to be able to handle different types of interactions depending on the specified protocol). [More from reference][1] |
| 5. | Reject Unauthorized Desktop Only | [More from reference][1] |
| 6. | handshake_timeout Desktop Only | Timeout in milliseconds for the handshake request. This is reset after every redirection. [Know more from reference][8] |
| 7. | follow_redirects Desktop Only | Whether or not to follow redirects. [More from reference][7] |
| 8. | max_redirects Desktop Only | The maximum number of redirects allowed. [Know more from reference][9] |
| 9. | protocol_version Desktop Only | Value of the Sec-WebSocket-Version header. The WebSocket protocol version the client wishes to use when communicating with the server. This number should be the most recent version possible listed in the [IANA WebSocket Version Number Registry][10]. The most recent final version of the WebSocket protocol is version 13. [More from reference][10.1] |
| 10. | origin Desktop Only | The Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. |
| 11. | max_payload Desktop Only | The maximum allowed message size in bytes. [Know more from reference][12] |
| 5. | default_connection | Defines the connection, which is selected as a default. |
| 6. | disable_ssl_validation
Desktop Only | Disable SSL validation. (Allow to connect with the secure server without a certificate, if set to true.) |