Edit

Share via


HttpWorkerRequest.SendKnownResponseHeader(Int32, String) Method

Definition

Adds a standard HTTP header to the response.

public:
 abstract void SendKnownResponseHeader(int index, System::String ^ value);
public abstract void SendKnownResponseHeader (int index, string value);
abstract member SendKnownResponseHeader : int * string -> unit
Public MustOverride Sub SendKnownResponseHeader (index As Integer, value As String)

Parameters

index
Int32

The header index. For example, HeaderContentLength.

value
String

The value of the header.

Applies to