다음을 통해 공유


IClientWebSocketOptions.SetRequestHeader(String, String) Method

Definition

Creates a HTTP request header and its value.

public void SetRequestHeader (string name, string value);
abstract member SetRequestHeader : string * string -> unit
Public Sub SetRequestHeader (name As String, value As String)

Parameters

name
String

The name of the HTTP header.

value
String

The value of the HTTP header.

Applies to