Input/Output operations for streams produced by DevTools.
Input/Output operations for streams produced by DevTools.
(close)
(close {:as params :keys [handle]})
(close connection {:as params :keys [handle]})
Close the stream, discard any temporary backing storage.
Parameters map keys:
Key | Description |
---|---|
:handle | Handle of the stream to close. |
Close the stream, discard any temporary backing storage. Parameters map keys: Key | Description --------|------------ :handle | Handle of the stream to close.
(read)
(read {:as params :keys [handle offset size]})
(read connection {:as params :keys [handle offset size]})
Read a chunk of the stream
Parameters map keys:
Key | Description |
---|---|
:handle | Handle of the stream to read. |
:offset | Seek to the specified offset before reading (if not specificed, proceed with offset following the last read). (optional) |
:size | Maximum number of bytes to read (left upon the agent discretion if not specified). (optional) |
Return map keys:
Key | Description |
---|---|
:base64-encoded | Set if the data is base64-encoded (optional) |
:data | Data that were read. |
:eof | Set if the end-of-file condition occured while reading. |
Read a chunk of the stream Parameters map keys: Key | Description --------|------------ :handle | Handle of the stream to read. :offset | Seek to the specified offset before reading (if not specificed, proceed with offset following the last read). (optional) :size | Maximum number of bytes to read (left upon the agent discretion if not specified). (optional) Return map keys: Key | Description ----------------|------------ :base64-encoded | Set if the data is base64-encoded (optional) :data | Data that were read. :eof | Set if the end-of-file condition occured while reading.
(resolve-blob)
(resolve-blob {:as params :keys [object-id]})
(resolve-blob connection {:as params :keys [object-id]})
Return UUID of Blob object specified by a remote object id.
Parameters map keys:
Key | Description |
---|---|
:object-id | Object id of a Blob object wrapper. |
Return map keys:
Key | Description |
---|---|
:uuid | UUID of the specified Blob. |
Return UUID of Blob object specified by a remote object id. Parameters map keys: Key | Description -----------|------------ :object-id | Object id of a Blob object wrapper. Return map keys: Key | Description ------|------------ :uuid | UUID of the specified Blob.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close