Skip to main content
Module

x/earthstar_streaming_rpc/src/types.ts>ITransportOpts

Like JSON-RPC, but supports streaming.
Latest
interface ITransportOpts
import { type ITransportOpts } from "https://deno.land/x/earthstar_streaming_rpc@v5.0.1/src/types.ts";

Typical options for the Transport constructor.

But note that each flavor of Transport will have a slightly different constructor

Type Parameters

BagType extends FnsBag

Properties

deviceId: string
methods: BagType