Interface ICoreHttpClient
Abstraction for a typed
Namespace: Geko.HttpClientService.Infrastructure
Assembly: Geko.HttpClientService.dll
Syntax
public interface ICoreHttpClient
Methods
| Improve this Doc View SourceSendAsync(HttpRequestMessage)
Sends an
Declaration
Task<HttpResponseMessage> SendAsync(HttpRequestMessage httpRequestMessage)
Parameters
Type | Name | Description |
---|---|---|
Http |
httpRequestMessage | The |
Returns
Type | Description |
---|---|
Task<Http |
An |
SetTimeout(TimeSpan)
Set the timeout for the next request.
Declaration
void SetTimeout(TimeSpan timeout)
Parameters
Type | Name | Description |
---|---|---|
Time |
timeout | The timeout. |