Skip to main content
Module

x/enzastdlib/rpc-http/server.ts>HTTPServerOptions

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
interface HTTPServerOptions
implements ServerOptions
import { type HTTPServerOptions } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-http/server.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.