pub struct EnableParams {
pub max_total_buffer_size: Option<i64>,
pub max_resource_buffer_size: Option<i64>,
pub max_post_data_size: Option<i64>,
pub report_direct_socket_traffic: Option<bool>,
pub enable_durable_messages: Option<bool>,
}Expand description
Enables network tracking, network events will now be delivered to the client. enable
Fields§
§max_total_buffer_size: Option<i64>Buffer size in bytes to use when preserving network payloads (XHRs, etc).
max_resource_buffer_size: Option<i64>Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
max_post_data_size: Option<i64>Longest post body size (in bytes) that would be included in requestWillBeSent notification
report_direct_socket_traffic: Option<bool>Whether DirectSocket chunk send/receive events should be reported.
enable_durable_messages: Option<bool>Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false. This field is being deprecated in favor of the dedicated configureDurableMessages command, due to the possibility of deadlocks when awaiting Network.enable before issuing Runtime.runIfWaitingForDebugger.
Implementations§
Source§impl EnableParams
impl EnableParams
pub fn builder() -> EnableParamsBuilder
Source§impl EnableParams
impl EnableParams
pub const IDENTIFIER: &'static str = "Network.enable"
Trait Implementations§
Source§impl Clone for EnableParams
impl Clone for EnableParams
Source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Command for EnableParams
impl Command for EnableParams
Source§impl Debug for EnableParams
impl Debug for EnableParams
Source§impl Default for EnableParams
impl Default for EnableParams
Source§fn default() -> EnableParams
fn default() -> EnableParams
Source§impl<'de> Deserialize<'de> for EnableParamswhere
EnableParams: Default,
impl<'de> Deserialize<'de> for EnableParamswhere
EnableParams: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Method for EnableParams
impl Method for EnableParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNode