Type alias http_server_config
http_server_config: {
host?: string;
port: number;
transport_security: {
kind: "plain_http";
} | {
certificateChain: {
kind: "file_path";
path: string;
};
kind: "https_tls";
privateKey: {
kind: "file_path";
path: string;
};
};
}
Type declaration
Optional host?: string
port: number
transport_security: {
kind: "plain_http";
} | {
certificateChain: {
kind: "file_path";
path: string;
};
kind: "https_tls";
privateKey: {
kind: "file_path";
path: string;
};
}