IODataRequestMessage.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 an HTTP header.
public void SetHeader (string headerName, string headerValue);
abstract member SetHeader : string * string -> unit
Public Sub SetHeader (headerName As String, headerValue As String)
Parameters
- headerName
- String
The name of the header to set.
- headerValue
- String
The value of the HTTP header or 'null' if the header should be removed.