1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! The `Security` domain.
//!
//! Method names for the `Security` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
/// Disables tracking security state changes.
pub const DISABLE: &str = "Security.disable";
/// Enables tracking security state changes.
pub const ENABLE: &str = "Security.enable";
/// Enable/disable whether all certificate errors should be ignored.
///
/// Parameters:
/// - `ignore`: boolean
pub const SET_IGNORE_CERTIFICATE_ERRORS: &str = "Security.setIgnoreCertificateErrors";
/// Handles a certificate error that fired a certificateError event.
///
/// Deprecated in the protocol.
///
/// Parameters:
/// - `eventId`: integer
/// - `action`: CertificateErrorAction
pub const HANDLE_CERTIFICATE_ERROR: &str = "Security.handleCertificateError";
/// Enable/disable overriding certificate errors. If enabled, all certificate
/// error events need to be handled by the DevTools client and should be
/// answered with `handleCertificateError` commands.
///
/// Deprecated in the protocol.
///
/// Parameters:
/// - `override`: boolean
pub const SET_OVERRIDE_CERTIFICATE_ERRORS: &str = "Security.setOverrideCertificateErrors";