Fields
How many times a read is tried.
The trace source of every vendor call.
Methods
Allows()
Whether the egress list allows a host.
Parameters
settings IReadOnlyDictionary<string, string>
required
The connection’s values, which fill the list’s templates.
Returns
bool
AsCreate()
Marks a request as creating an object, so a conflict means one already exists.
Parameters
request HttpRequestMessage
required
The request.
The manifest object’s key.
Returns
HttpRequestMessage
AsObject()
Marks a request as addressing one object, so a not found means that object is gone.
Parameters
request HttpRequestMessage
required
The request.
The manifest object’s key.
The vendor’s id for the object, or null when the caller names it on the failure.
Returns
HttpRequestMessage
AsRead()
Marks a request as a read.
Parameters
request HttpRequestMessage
required
Returns
HttpRequestMessage
The headers the manifest’s auth puts on a request, for a connector in another process.
Parameters
settings IReadOnlyDictionary<string, string>
required
cancellationToken CancellationToken
required
Returns
Task<IReadOnlyDictionary<string, string>>
Context()
Builds a context for one connection.
Parameters
handler HttpMessageHandler
required
settings IReadOnlyDictionary<string, string>
installation IReadOnlyDictionary<string, string>
Where to send the calls instead of the vendor. The installation’s base_url when not given.
Returns
ConnectionContext
Create()
Creates a client applying the manifest’s auth.
Parameters
transport HttpMessageHandler
required
settings IReadOnlyDictionary<string, string>
Returns
HttpClient
Creates a client sending bearer tokens.
Parameters
transport HttpMessageHandler
required
Returns
HttpClient
DefaultKind()
Gets the failure kind a status means.
Parameters
Returns
FailureKind
IsRead()
Whether a request only reads.
Parameters
request HttpRequestMessage
required
Returns
bool
ReadAsync()
Reads a response’s JSON body.
Type Parameters
Parameters
response HttpResponseMessage
required
options JsonSerializerOptions
required
cancellationToken CancellationToken
required
Returns
Task<T>
Transport()
Builds the pipeline without auth.
Parameters
handler HttpMessageHandler
required
settings IReadOnlyDictionary<string, string>
How long a call waits out a throttle before it fails as Throttled . Five seconds when not given.
Returns
HttpMessageHandler