Skip to content

API > HeaderCollection


HeaderCollection⚓︎

Collection of headers for sending a web request, or from web request response.

Members⚓︎

Properties⚓︎

Name Description
HeaderCollection.[key]Property Access a given header name.
HeaderCollection.KeysProperty List of header keys (names).

Constructor⚓︎

Name Description
HeaderCollection()Constructor Creates a new Header Collection.

Methods⚓︎

Name Description
HeaderCollection.Add(headerName, headerValue) Method Add a new header by name and values.
HeaderCollection.Add(KeyValue) Method Add a new header by KeyValue.
HeaderCollection.Contains(key) Method Is the collection containing the given key (header name)?