IHttpHeader

Overview

The IHttpHeader interface represents a collection of Http headers.

Objects of this type are used by the Remoting SDK infrastructure to provide access to the Http headers of Http requests or responses. While only few Http headers like 'Content-type' are exposed by IHttpRequest and IHttpResponse interfaces, the IHttpHeader interface provides access to any valid Http header value. Also, classes implementing this interface are used by Http-based channels to represent and manipulate Http request and response headers in a more generic form while processing them (see the WebChannelInfo class description).

Location


Properties


Item

Allows to retrieve or set an Http header with a provided name. For example, 'Content-Type' allows to retrieve or set the MIME type of the Html data.

 

property Item[name: String]: String read write;

 

String Item[String name] { get; set; }

 

Property Item(name As String) As String