Class HttpConnectionResolverOptions

Namespace
Cratis.Arc.Connections
Assembly
Cratis.Arc.Core.dll

Represents the options for HttpConnectionResolver.

public class HttpConnectionResolverOptions
Inheritance
HttpConnectionResolverOptions
Inherited Members
Extension Methods

Constructors

HttpConnectionResolverOptions()

public HttpConnectionResolverOptions()

Properties

Authentication

Gets or sets how to authenticate to the endpoint with a bearer token. No bearer token is sent by default.

public HttpConnectionResolverAuthenticationOptions Authentication { get; set; }

Property Value

HttpConnectionResolverAuthenticationOptions

Endpoint

Gets or sets the endpoint the request is posted to.

public Uri? Endpoint { get; set; }

Property Value

Uri

Headers

Gets or sets headers sent with every request, for instance an API key.

public IDictionary<string, string> Headers { get; set; }

Property Value

IDictionary<string, string>

Timeout

Gets or sets how long to wait for the endpoint to answer.

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan