• Home
  • Getting Started
  • More Details
  • Contribution
  • Github Repo
  • Api Documentation
  • Api Documentation
  • Geko.HttpClientService.Infrastructure
  • ICoreHttpClient
Show / Hide Table of Contents
  • Geko.HttpClientService
    • HttpClientService
    • HttpClientServiceFactory
    • IHttpClientServiceFactory
  • Geko.HttpClientService.Extensions
    • HttpClientServiceDeleteExtensions
    • HttpClientServiceGetExtensions
    • HttpClientServiceHeadExtensions
    • HttpClientServicePatchExtensions
    • HttpClientServicePostExtensions
    • HttpClientServicePutExtensions
    • ServiceCollectionExtensions
  • Geko.HttpClientService.Infrastructure
    • ClientCredentialsHttpClient
    • CoreHttpClient
    • HttpClientServiceHeaders
    • HttpRequestMessageFactory
    • HttpRequestMessageFactoryDesktop
    • ICoreHttpClient
    • IdentityServerHttpClientSelector
    • IdentityServerService
    • IHttpRequestMessageFactory
    • IIdentityServerHttpClient
    • IIdentityServerHttpClientSelector
    • IIdentityServerService
    • ITokenResponseCacheManager
    • PasswordHttpClient
    • TokenResponseCacheManager
    • TypeContent<TRequestBody>
  • Geko.HttpClientService.Models
    • HttpClientServiceOptions
    • IIdentityServerOptions
    • ResponseObject<TResponseBody>

Interface ICoreHttpClient

Abstraction for a typed .

Namespace: Geko.HttpClientService.Infrastructure
Assembly: Geko.HttpClientService.dll
Syntax
public interface ICoreHttpClient

Methods

| Improve this Doc View Source

SendAsync(HttpRequestMessage)

Sends an .

Declaration
Task<HttpResponseMessage> SendAsync(HttpRequestMessage httpRequestMessage)
Parameters
Type Name Description
HttpRequestMessage httpRequestMessage

The to be sent

Returns
Type Description
Task<HttpResponseMessage>

An .

| Improve this Doc View Source

SetTimeout(TimeSpan)

Set the timeout for the next request.

Declaration
void SetTimeout(TimeSpan timeout)
Parameters
Type Name Description
TimeSpan timeout

The timeout.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • SendAsync(HttpRequestMessage)
    • SetTimeout(TimeSpan)
Back to top Generated by DocFX