[This is preliminary documentation and is subject to change.]

Adds a response header. Current values for the specified header field are retained.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static void AddHeader(

this IResponse response,

string header,

string value

)

VB

Public Shared Sub AddHeader( _

response As IResponse, _

header As String, _

value As String _

)

C++

public:

static void AddHeader(

IResponse^ response,

String^ header,

String^ value

)

Parameters

header
value

See Also

ResponseExtensionsResponseExtensionsResponseExtensions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace