Skip to main content

start_server

Function start_server 

Source
pub fn start_server(
    config: FolkConfig,
    plugins: Vec<Box<dyn Plugin>>,
) -> Result<()>
Expand description

Start the server with plugins. Non-blocking.

Creates one channel pair for the main PHP thread (worker #1). Additional workers (count > 1) are spawned as ZTS threads by the runtime.