HttpWebRequestMessage.SetHeader(String, 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.
Sets the value of the header with the given name.
public override void SetHeader (string headerName, string headerValue);
override this.SetHeader : string * string -> unit
Public Overrides Sub SetHeader (headerName As String, headerValue As String)
Parameters
- headerName
- String
Name of the header.
- headerValue
- String
Value of the header.