Back to product page

ToString method (HttpHeaders)


Returns string expression containing all headers.

Type

A String value

Syntax

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

Remarks

ToString method will return list of all headers and their values, line by line, just as they are sent (or received) to the server.

Platforms

Windows