HeaderCollection
7/14/25Less than 1 minute
HeaderCollection
Collection of headers for sending a web request, or from web request response.
Members
Properties
| Name | Description |
|---|---|
HeaderCollection.[key] | Access a given header name. |
HeaderCollection.Keys | List of header keys (names). |
Constructor
| Name | Description |
|---|---|
HeaderCollection() | Creates a new Header Collection. |
Methods
| Name | Description |
|---|---|
HeaderCollection.Add(headerName, headerValue) | Add a new header by name and values. |
HeaderCollection.Add(KeyValue) | Add a new header by KeyValue. |
HeaderCollection.Contains(key) | Is the collection containing the given key (header name)? |

