HttpClientRequestMessage.GetHeader(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value of the header with the given name.
public override string GetHeader (string headerName);
override this.GetHeader : string -> string
Public Overrides Function GetHeader (headerName As String) As String
Parameters
- headerName
- String
Name of the header.
Returns
Returns the value of the header with the given name.