Table of Contents

Method SetHeader

Namespace
Sisk.Core.Http.Engine
Assembly
Sisk.Core.dll

SetHeader(string, string)

Sets a header with the specified name and value in the collection. If a header with the same name already exists, its existing values are replaced with the new value.

void SetHeader(string name, string value)

Parameters

name string

The name of the header to set.

value string

The value of the header to set.