pub fn new(working_directory: PathBuf, websocket_port: u16, styles: StyleConfig) -> Server {
        Server {
            working_directory: working_directory,
            websocket_port: websocket_port,
            styles: styles,
        }
    }
/// Creates a new server that listens on socket address `addr`.
Creates a new server that listens on socket address `addr`.
Creates a new server that listens on socket address ` addr ` .
pub fn new(working_directory: PathBuf, websocket_port: u16, styles: StyleConfig) -> Server {
        Server {
            working_directory: working_directory,
            websocket_port: websocket_port,
            styles: styles,
        }
    }
pub fn new ( working_directory : PathBuf , websocket_port : u16 , styles : StyleConfig ) -> Server { Server { working_directory : working_directory , websocket_port : websocket_port , styles : styles , } }
Creates a new server that listens on socket address `addr`.
Creates a new server that listens on socket address ` addr ` .
working_directory
PathBuf
websocket_port
u16
styles
StyleConfig
working_directory
PathBuf
websocket_port
u16
styles
StyleConfig