Function webdriver::server::start

source ·
pub fn start<T, U>(
    address: SocketAddr,
    allow_hosts: Vec<Host>,
    allow_origins: Vec<Url>,
    handler: T,
    extension_routes: Vec<(Method, &'static str, U)>
) -> Result<Listener>
where T: 'static + WebDriverHandler<U>, U: 'static + WebDriverExtensionRoute + Send + Sync,