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

Sets a response header. Any current values for the specified header field are replaced.

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

Syntax

C#

public static void SetHeader(

this IResponse response,

string header,

string value

)

VB

Public Shared Sub SetHeader( _

response As IResponse, _

header As String, _

value As String _

)

C++

public:

static void SetHeader(

IResponse^ response,

String^ header,

String^ value

)

Parameters

header
value

See Also

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