Skip to main content

start_server_with_config

Function start_server_with_config 

Source
pub async fn start_server_with_config(
    addr: SocketAddr,
    config: WebKitConfig,
) -> Result<(), Box<dyn Error>>
Expand description

Start the WebKit preview server.

§Arguments

  • addr – Socket address to bind to.
  • config – Server configuration with paths to WASM, JS, assets, and static files.