interface ServeOptions {
    certfile?: string;
    fallback?: string;
    host?: string;
    keyfile?: string;
    onRequest?: ((args) => void);
    port?: number;
    servedir?: string;
}

Properties

certfile?: string
fallback?: string
host?: string
keyfile?: string
onRequest?: ((args) => void)

Type declaration

port?: number
servedir?: string