Interface
IHttpEngineHeaderList
Represents a collection of HTTP headers.
public interface IHttpEngineHeaderListProperties #
| Name | Description |
|---|---|
| Count | Gets the number of headers in the collection. |
| DefinedHeaderNames | Gets an array of strings representing the names of all defined headers in the collection. |
Methods #
| Name | Description |
|---|---|
| AppendHeader(string, string) | Appends a header with the specified name and value to the collection. If a header with the same name already exists, the new value is added as an additional value for that header. |
| Clear() | Removes all headers from the collection. |
| Contains(string) | Determines whether the collection contains a header with the specified name. |
| GetHeader(string) | Gets all values associated with the header with the specified name. |
| SetHeader(string, string) | Sets a header with the specified name and value in the collection. If a header with the same name already exists, its existing values are replaced with the new value. |