forked from SaltwaterC/aws2js
-
Notifications
You must be signed in to change notification settings - Fork 0
s3.get()
SaltwaterC edited this page Nov 15, 2011
·
3 revisions
Low level method for sending GET requests to the S3 REST API.
s3.get(path, resBodyHandler, callback)
- 'path' - the S3 Path.
- 'resBodyHandler' - the Response Body Handler.
- 'callback' - the callback that would be executed when the processing finishes. It has a couple of arguments: error and result.
- If there's an error, the callback receives the error argument as Error instance.
- If the error argument is null, then the response argument contains the response data as decided by the resBodyHandler.