Represents parameters for providingResponse command. Described in https://w3c.github.io/webdriver-bidi/#command-network-provideResponse.
Sets the body value for the response parameters.
| Name | Type | Description |
|---|---|---|
value | BytesValue | The value to set as the body. Must be an instance of BytesValue. |
Sets the cookie headers for the response.
| Name | Type | Description |
|---|---|---|
cookieHeaders | Array.<Header> | An array of cookie headers. |
Sets the headers for the response.
| Name | Type | Description |
|---|---|---|
headers | Array.<Header> | The headers to be set. |
Sets the reason phrase for the response.
| Name | Type | Description |
|---|---|---|
reasonPhrase | string | The reason phrase to set. |
Sets the status code for the response.
| Name | Type | Description |
|---|---|---|
statusCode | number | The status code to set. |