Table of Contents

Method AddDefaultHeader

Namespace
DisCatSharp.Net.WebSocket
Assembly
DisCatSharp.dll

AddDefaultHeader(string, string)

Adds a header to the default header collection.

public bool AddDefaultHeader(string name, string value)

Parameters

name string

Name of the header to add.

value string

Value of the header to add.

Returns

bool

Whether the operation succeeded.