Skip to main content
Module

x/earthstar_streaming_rpc/mod.ts>TransportLocal

Like JSON-RPC, but supports streaming.
Latest
class TransportLocal
implements ITransport<BagType>
import { TransportLocal } from "https://deno.land/x/earthstar_streaming_rpc@v5.0.1/mod.ts";

A Transport that connects directly to other Transports in memory, on the same machine.

This is mostly useful for testing.

Constructors

new
TransportLocal(opts: ITransportLocalOpts<BagType>)

Type Parameters

BagType extends FnsBag

Properties

description: string
deviceId: string
readonly
isClosed
methods: BagType