RemoteObject Class
A Remote Object (from object storage).
Constructor
RemoteObject
(
-
name -
response
Parameters:
-
nameStringThe name of the object
-
responseObjectA HTTP response for an object.
Item Index
Methods
Methods
destroy
()
Close the underlying object.
info
()
ObjectInfo
Get the ObjectInfo about this object.
Returns:
ObjectInfo:
The ObjectInfo object associated with the remote object.
pause
()
Send a signal to the underlying communication layer requesting no more data be sent.
resume
()
Resumes incoming data.
setEncoding
(
-
encoding
Set the encoding for an object.
Parameters:
-
encodingStringThe encoding to use.
HPCloud-JS