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 |
|---|---|---|
| HttpRequestMessage | httpRequestMessage | The |
Returns
| Type | Description |
|---|---|
| Task<HttpResponseMessage> | An |
SetTimeout(TimeSpan)
Set the timeout for the next request.
Declaration
void SetTimeout(TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeout | The timeout. |