Coree.NETStandard
  • API
Show / Hide Table of Contents
  • Coree.NETStandard.Abstractions.DependencySingleton
    • DependencySingleton<T>
    • IDependencySingleton
  • Coree.NETStandard.Abstractions.FluentBase
    • FluentBase
    • IFluentBase
  • Coree.NETStandard.Abstractions.ServiceFactory
    • ServiceFactory<T>
  • Coree.NETStandard.Classes.AsyncEventCollection
    • AsyncEventCollection<T>
    • AsyncEventCollection<T>.CustomEventDelegate
  • Coree.NETStandard.Classes.Criteria
    • CriteriaComparisonMethod
    • CriteriaEnumerableExtensions
    • CriteriaExpressionBuilder
    • CriteriaItem<TValue>
    • CriteriaItems
    • CriteriaOperator
    • CriteriaQueryableExtensions
  • Coree.NETStandard.Classes.Scheduler
    • Scheduler
    • Scheduler.TickerEventArgs
    • Scheduler.TickerEventDelegate
  • Coree.NETStandard.Classes.ThreadSafeCollection
    • ThreadSafeCollection<T>
  • Coree.NETStandard.Classes.ThreadSafeValue
    • ThreadSafeValue<T>
  • Coree.NETStandard.Classes.TimeOfDay
    • TimeOfDay
  • Coree.NETStandard.CoreeHttpClient
    • CoreeHttpClient
    • CoreeHttpClient2
    • HttpHeadersExtensions
    • HttpRequestHeadersExtensions
    • HttpResponseResult
    • HttpResponseResult.OperationStatus
    • HttpResponseResult2
    • HttpResponseResult2.OperationStatus
    • ICoreeHttpClient
    • Product
    • ProductExtensions
    • RequestContentBuilder
    • RequestParamBuilder
    • ServiceCollectionExtensions
    • UriExtensions
  • Coree.NETStandard.Extensions.Collections.Enumerable
    • CollectionsEnumerableExtensions
  • Coree.NETStandard.Extensions.Collections.List
    • CollectionsListExtensions
  • Coree.NETStandard.Extensions.Conversions.ByteArray
    • ConversionsByteArrayExtensions
  • Coree.NETStandard.Extensions.Conversions.HostApplicationBuilder
    • ConversionsHostApplicationBuilderExtensions
  • Coree.NETStandard.Extensions.Conversions.String
    • ConversionsStringExtensions
    • Encodings
  • Coree.NETStandard.Extensions.Conversions.Stringbuilder
    • ConversionsStringbuilderExtension
  • Coree.NETStandard.Extensions.Primitives.Bool
    • PrimitivesBoolExtensions
  • Coree.NETStandard.Extensions.Reflection.ServiceProvider
    • ReflectionServiceProviderExtensions
  • Coree.NETStandard.Extensions.Threading.CancellationToken
    • ThreadingCancellationTokenExtensions
  • Coree.NETStandard.Extensions.Utilities
    • DateTimeExtensions
  • Coree.NETStandard.Extensions.Validations.String
    • ValidationsStringExtensions
  • Coree.NETStandard.HostedServicesCollection
    • HostedServicesCollectionConfig<T>
    • IHostedServicesCollectionConfig<T>
    • ServiceCollectionExtensions
    • ServiceProviderExtensions
  • Coree.NETStandard.Serilog
    • ConditionalLevelSink
    • LoggerSinkConfigurationExtensions
    • OutputTemplates
    • ServiceCollectionExtensions
    • SourceContextShortEnricher
  • Coree.NETStandard.Services
    • IRuntimeInsightsx
    • RuntimeInsightsServicex
  • Coree.NETStandard.Services.File
    • FileService
    • IFileService
  • Coree.NETStandard.Services.Process
    • IProcessService
    • ProcessRunExitCodeState
    • ProcessRunResult
    • ProcessService
  • Coree.NETStandard.Services.RuntimeInsights
    • IRuntimeInsightsService
    • RuntimeInsightsService
  • Coree.NETStandard.SpectreConsole
    • CommandAppExtensions
    • HostBuilderExtensions
    • ServiceCollectionExtensions
    • SpectreConsoleHostedService
    • SpectreConsoleHostedService.ExitCode
    • SpectreConsoleTypeRegistrar
    • SpectreConsoleTypeResolver
  • Coree.NETStandard.UnderConstruction
    • DbContextExtensions
    • HttpClientStatic
    • HttpClientStatic.HttpClientResponse
    • HttpClientStatic.XRate
    • HttpClientStatic.XRateGroup
    • HttpClientStatic.XRateItem
    • IScheduleProvider
    • IntervalScheduleProvider
    • LimitedHistory<T>
    • ScheduleCombiner
    • Scheduler2
    • Scheduler2.TickerEventArgs
    • Scheduler2.TickerEventDelegate
    • Scheduler3
    • Scheduler3.TickerEventArgs
    • Scheduler3.TickerEventDelegate
    • SqlliteMemoryContext
    • SqlliteMemoryContext.UserDataDto
    • TimedEntry<T>
    • Timing
    • Timing.Ticker
    • Timing.Ticker.TickerEventArgs
    • Timing.TickerSync
    • WeekDayAtScheduleProvider
  • Coree.NETStandard.Utilities
    • EventSubscription
    • MainContext

Interface ICoreeHttpClient

Namespace: Coree.NETStandard.CoreeHttpClient
Assembly: Coree.NETStandard.dll
Syntax
public interface ICoreeHttpClient

Methods

| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetAsync(string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<HttpResponseResult> GetAsync(string url, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<HttpResponseResult>
| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetJsonDocumentAsync(string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<JsonDocument?> GetJsonDocumentAsync(string url, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<JsonDocument>
| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetJsonNodeAsync(string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<JsonNode?> GetJsonNodeAsync(string url, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<JsonNode>
| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetJsonPathResultAsync(string, string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<PathResult?> GetJsonPathResultAsync(string url, string jsonPath, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
string jsonPath
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<PathResult>
| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetJsonPathResultAsync<T>(string, string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<List<T>?> GetJsonPathResultAsync<T>(string url, string jsonPath, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
string jsonPath
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<List<T>>
Type Parameters
Name Description
T
| <<<<<<< HEAD Edit this page View Source ======= Edit this page View Source >>>>>>> release

GetStringAsync(string, Dictionary<string, string>?, TimeSpan?, int, TimeSpan?, CancellationToken)

Declaration
Task<string?> GetStringAsync(string url, Dictionary<string, string>? headers = null, TimeSpan? cacheDuration = null, int maxTries = 3, TimeSpan? retryDelay = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string url
Dictionary<string, string> headers
TimeSpan? cacheDuration
int maxTries
TimeSpan? retryDelay
CancellationToken cancellationToken
Returns
Type Description
Task<string>
  • <<<<<<< HEAD Edit this page
  • View Source ======= Edit this page
  • View Source >>>>>>> release
In this article
Back to top