Skip to main content
Module

x/enzastdlib/rpc/server.ts>ServerOptions

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 ServerOptions
import { type ServerOptions } from "https://deno.land/x/enzastdlib@v0.0.4/rpc/server.ts";

Represents the base options that are passable to a function that returns a Server instance.

Properties

readonly
optional
middlewares: readonly ServerMiddlewareCallback[]

Represents middleware that handles every call from remote RPC clients.

readonly
optional
notifications: NotificationRecord<true>

Represents the registered notifications that remote RPC clients are allowed to call.

readonly
optional
procedures: ProcedureRecord<true>

Represents the registered procedures that remote RPC clients are allowed to call.