Table of Contents

Interface IRestRequestHandler

Namespace
NetCord.Rest
Assembly
NetCord.dll
public interface IRestRequestHandler : IDisposable
Inherited Members

Methods

AddDefaultHeader(string, IEnumerable<string>)

void AddDefaultHeader(string name, IEnumerable<string> values)

Parameters

name string
values IEnumerable<string>

SendAsync(HttpRequestMessage, CancellationToken)

Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken = default)

Parameters

request HttpRequestMessage
cancellationToken CancellationToken

Returns

Task<HttpResponseMessage>