Interface IResourceContext<T>
Supports loading ACME resource with URI.
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public interface IResourceContext<T>
Type Parameters
| Name | Description |
|---|---|
| T | The resource entity type. |
Properties
| Edit this page View SourceLocation
Gets the location.
Declaration
Uri Location { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The location. |
RetryAfter
The timespan after which to retry the request
Declaration
int RetryAfter { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceResource(CancellationToken)
Gets the ACME resource.
Declaration
Task<T> Resource(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<T> | The resource entity. |