cdp-driver 0.5.0

Chrome DevTools Protocol (CDP) client for Rust: every command, event and type generated from the schema, with sessions, for browser automation and AI agents
Documentation
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.

//! Input/Output operations for streams produced by DevTools.
//!
//! Method names for the `IO` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).

/// Close the stream, discard any temporary backing storage.
///
/// Parameters:
/// - `handle`: StreamHandle
pub const CLOSE: &str = "IO.close";

/// Read a chunk of the stream
///
/// Parameters:
/// - `handle`: StreamHandle
/// - `offset`: integer (optional)
/// - `size`: integer (optional)
///
/// Returns: `base64Encoded`, `data`, `eof`
pub const READ: &str = "IO.read";

/// Return UUID of Blob object specified by a remote object id.
///
/// Deprecated in the protocol.
///
/// Parameters:
/// - `objectId`: Runtime.RemoteObjectId
///
/// Returns: `uuid`
pub const RESOLVE_BLOB: &str = "IO.resolveBlob";