Skip to main content

ResQ.Clients.BaseServiceClient

BaseServiceClient.SendAsync(HttpMethod, string, HttpContent, CancellationToken, bool) Method

Sends an HTTP request, applying authorization from the current async flow when present.
protected System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpMethod method, string requestUri, System.Net.Http.HttpContent? content=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), bool includeAuthorization=true);

Parameters

method System.Net.Http.HttpMethod requestUri System.String content System.Net.Http.HttpContent cancellationToken System.Threading.CancellationToken includeAuthorization System.Boolean

Returns

System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>