Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/enzastdlib/rpc-streams/mod.ts

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
import * as enzastdlib from "https://deno.land/x/enzastdlib@v0.0.4/rpc-streams/mod.ts";

Create fully typed and validated RPC clients and servers using a pair of ReadableStream / WritableStream instances as the transport.

This module imports the following external libraries:

Functions

Makes a Streams API client that can communicate to a server in enzastdlib's RPC protocol.

Makes a Streams API server that can respond to clients in enzastdlib's RPC protocol.

Interfaces

Represents options passable to makeStreamClient.

Represents a Streams API server made by makeStreamServer.

Represents options passable to makeStreamServer.

Type Aliases

Represents a Streams API client made by makeStreamClient.