interface HTTPServerOptions
implements ServerOptions
import { type HTTPServerOptions } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-http/mod.ts";
Represents options passable to makeHTTPServer
.
Properties
readonly
optional
http: (Omit<ServeInit, "onListen" | "signal"> | Omit<ServeTlsInit, "onListen" | "signal">) & { readonly onRequest?: (request: Request) => Promise<Response | void> | Response | void; }Represents HTTP-related options that is used by the RPC server.