Method AddDefaultHeader
- Namespace
- DSharpPlus.Net.WebSocket
- Assembly
- DSharpPlus.dll
AddDefaultHeader(string, string)
Adds a header to the default header collection.
bool AddDefaultHeader(string name, string value)
Parameters
name
stringName of the header to add.
value
stringValue of the header to add.
Returns
- bool
Whether the operation succeeded.