Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.io

Input/Output operations for streams produced by DevTools.

Input/Output operations for streams produced by DevTools.
raw docstring

closeclj

(close)
(close {:as params :keys [handle]})
(close connection {:as params :keys [handle]})

Close the stream, discard any temporary backing storage.

Parameters map keys:

KeyDescription
:handleHandle 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.
sourceraw docstring

readclj

(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:

KeyDescription
:handleHandle of the stream to read.
:offsetSeek to the specified offset before reading (if not specificed, proceed with offset following the last read). (optional)
:sizeMaximum number of bytes to read (left upon the agent discretion if not specified). (optional)

Return map keys:

KeyDescription
:base64-encodedSet if the data is base64-encoded (optional)
:dataData that were read.
:eofSet 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.
sourceraw docstring

resolve-blobclj

(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:

KeyDescription
:object-idObject id of a Blob object wrapper.

Return map keys:

KeyDescription
:uuidUUID 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close