Chrome Remote Interface v0.0.1 ChromeRemoteInterface.RPC.IO View Source

Input/Output operations for streams produced by DevTools.

Link to this section Summary

Functions

Close the stream, discard any temporary backing storage

Read a chunk of the stream

Link to this section Functions

Link to this function close(page_pid, parameters \\ %{}) View Source

Close the stream, discard any temporary backing storage.

Parameters: handle - - Handle of the stream to close.

Link to this function read(page_pid, parameters \\ %{}) View Source

Read a chunk of the stream

Parameters: 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).size - - Maximum number of bytes to read (left upon the agent discretion if not specified).