Back to product page

Headers property (HttpRequest)


Reference to header fields.

Type

A HttpHeaders object. Reference to HttpHeaders collection for the request.

Syntax

  • Basic
object.Headers
The Headers(object) syntax has these parts:
objectAn expression evaluating to an object of type HttpRequest.

Remarks

Headers property returns reference to collection of all headers in the request. These are the headers that are sent to the server, such as 'User-Agent', 'Accept' etc.

Platforms

Windows