Свойство | Тип | Описание | |
---|---|---|---|
GetAuthDataValue | string | ||
GetAuthorizationHeaderValue | string | ||
GetRequestData | string | ||
GetRequestHeaders | string | ||
GetRequestStreamHash | string |
Метод | Описание | |
---|---|---|
EdgeGridV1Signer ( IList |
||
Execute ( |
Opens the connection to the {OPEN} API, assembles the signing headers and uploads any files.
|
|
Sign ( |
Signs the given request with the given client credential.
|
|
Validate ( |
Validates the response and attempts to detect root causes for failures for non 200 responses. The most common cause is due to time synchronization of the local server. If the local server is more than 30seconds out of sync then the API server will reject the request. TODO: catch rate limitting errors. Should delay and retry.
|
Метод | Описание | |
---|---|---|
GetAuthDataValue ( |
||
GetAuthorizationHeaderValue ( |
||
GetRequestData ( string method, |
||
GetRequestHeaders ( |
||
GetRequestStreamHash ( Stream requestStream ) : string |
public EdgeGridV1Signer ( IList |
||
headers | IList |
|
maxBodyHashSize | long | |
Результат | System |
public Execute ( |
||
request | the | |
credential | ||
uploadStream | Stream | |
Результат | Stream |
public Sign ( |
||
request | The web request to sign | |
credential | the credential used in the signing | |
uploadStream | Stream | |
Результат |
public Validate ( |
||
response | the active response object | |
Результат | void |