HTTP⚓︎
Sometimes it's necessary to configure HTTP communication if your Xray instance sits behind a proxy or uses special root certificates that are not available by default.
Info
The plugin uses axios
for making requests.
Please refer to the official documentation to see all available options.
There are three ways to specify the plugin's HTTP configuration:
- common options to use for all HTTP requests
- options to use for Jira requests only
- options to use for Xray requests only
The common options are automatically inherited by the Jira or Xray options, with the specific options overriding the common ones if repeated.
Example
The following example defines a maximum timeout of 5000 milliseconds for all HTTP requests:
The following example defines:
- a default maximum timeout of 5000 milliseconds for all HTTP requests
- a maximum timeout of 30000 milliseconds for all HTTP requests directed at Jira
The following example defines:
- a default maximum timeout of 5000 milliseconds for all HTTP requests
- a maximum timeout of 30000 milliseconds for all HTTP requests directed at Jira
- a proxy configuration for HTTP requests directed at Xray