Skip to content

SetHeader Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Web.dll

void SetHeader(HttpResponse response, string header, string value) ​

csharp
void SetHeader(HttpResponse response, string header, string value)

Sets the specified response header to the given value, replacing any existing value.

Parameters ​

NameDescription
headerThe name of the header to set.
responseThe HTTP response.
valueThe value of the header.