Method GetResponseHeader
GetResponseHeader(String)
Retrieves the value of a response header from the latest HTTP response received.
Declaration
public string GetResponseHeader(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the HTTP header to retrieve. Case-insensitive. |
Returns
Type | Description |
---|---|
String | The value of the HTTP header from the latest HTTP response. If no header with a matching name has been received, or no responses have been received, returns null. |