HttpHeaders Data Type
Version: Available or changed with runtime version 1.0.
Is a collection of headers and their values.
The following methods are available on instances of the HttpHeaders data type.
| Method name | Description |
|---|---|
| Add(Text, Text) | Adds the specified header and its value into the HttpHeaders collection. Validates the provided value. |
| Clear() | Sets the HttpHeaders variable to the default value. |
| Contains(Text) | Checks if the specified header exists in the HttpHeaders collection. |
| GetValues(Text, Array of [Text]) | Gets the values for the specified key. |
| GetValues(Text, List of [Text]) | Gets the values for the specified key. |
| Keys() | Gets the key name of all the headers |
| Remove(Text) | Removes the specified header from the HttpHeaders collection. |
| TryAddWithoutValidation(Text, Text) | Adds the specified header and its value into the HttpHeaders collection. Doesn't validate the provided value. |
See Also
Feedback
Submit and view feedback for