pub struct ServerConfig {
pub host: String,
pub port: u16,
pub http_timeout_seconds: u64,
pub max_sessions: usize,
pub browser_name: String,
pub protocol_version: String,
pub user_agent: Option<String>,
pub v8_version: Option<String>,
pub webkit_version: Option<String>,
}Expand description
CDP server configuration. Controls bind address, timeouts, concurrency limits and version strings.
Fields§
§host: String§port: u16§http_timeout_seconds: u64§max_sessions: usize§browser_name: String§protocol_version: String§user_agent: Option<String>§v8_version: Option<String>§webkit_version: Option<String>Implementations§
Source§impl ServerConfig
impl ServerConfig
pub fn builder() -> ServerConfigBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnsafeUnpin for ServerConfig
impl UnwindSafe for ServerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more