// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! Audits domain allows investigation of page violations and possible
//! improvements.
//!
//! Method names for the `Audits` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
//!
//! This domain is experimental and may change without notice.
/// Returns the response body and size if it were re-encoded with the
/// specified settings. Only applies to images.
///
/// Parameters:
/// - `requestId`: Network.RequestId
/// - `encoding`: string
/// - `quality`: number (optional)
/// - `sizeOnly`: boolean (optional)
///
/// Returns: `body`, `originalSize`, `encodedSize`
pub const GET_ENCODED_RESPONSE: &str = "Audits.getEncodedResponse";
/// Disables issues domain, prevents further issues from being reported to the
/// client.
pub const DISABLE: &str = "Audits.disable";
/// Enables issues domain, sends the issues collected so far to the client by
/// means of the `issueAdded` event.
pub const ENABLE: &str = "Audits.enable";
/// Runs the form issues check for the target page. Found issues are reported
/// using Audits.issueAdded event.
///
/// Returns: `formIssues`
pub const CHECK_FORMS_ISSUES: &str = "Audits.checkFormsIssues";