메소드 |
설명 |
|
EdgeGridV1Signer ( IList headers = null, long maxBodyHashSize = 2048 ) : System |
|
|
Execute ( WebRequest request, ClientCredential credential, Stream uploadStream = null ) : Stream |
Opens the connection to the {OPEN} API, assembles the signing headers and uploads any files. |
|
Sign ( WebRequest request, ClientCredential credential, Stream uploadStream = null ) : WebRequest |
Signs the given request with the given client credential. |
|
Validate ( WebResponse response ) : void |
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. |
|