Class AcmeHttpResponse<T>
Inheritance
AcmeHttpResponse<T>
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public class AcmeHttpResponse<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Edit this page View SourceAcmeHttpResponse(Uri, T, ILookup<string, Uri>, AcmeError, int)
Initializes a new instance of the AcmeHttpResponse<T> class.
Declaration
public AcmeHttpResponse(Uri location, T resource, ILookup<string, Uri> links, AcmeError error, int retryAfter = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | location | The location. |
| T | resource | The resource. |
| ILookup<string, Uri> | links | The links. |
| AcmeError | error | The error. |
| int | retryAfter | The retryAfter delay. |
Properties
| Edit this page View SourceError
Gets the error.
Declaration
public AcmeError Error { get; }
Property Value
| Type | Description |
|---|---|
| AcmeError | The error. |
Links
Gets the links.
Declaration
public ILookup<string, Uri> Links { get; }
Property Value
| Type | Description |
|---|---|
| ILookup<string, Uri> | The links. |
Location
Gets the location.
Declaration
public Uri Location { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The location. |
Resource
Gets the resource.
Declaration
public T Resource { get; }
Property Value
| Type | Description |
|---|---|
| T | The resource. |
RetryAfter
Gets the retry after delay.
Declaration
public int RetryAfter { get; }
Property Value
| Type | Description |
|---|---|
| int | The retry after delay. |