Skip to main content
Module

x/earthstar_replica_server/mod.ts>ExtensionSyncWebsocket

An always-online Earthstar peer for your shares.
Go to Latest
class ExtensionSyncWebsocket
Re-export
import { ExtensionSyncWebsocket } from "https://deno.land/x/earthstar_replica_server@v3.0.0/mod.ts";

An extension which enables synchronisation over a Websocket connection.

Constructors

new
ExtensionSyncWebsocket(opts: ExtensionSyncOpts)

Properties

private
path: string
private
syncer: Earthstar.Syncer<Rpc.TransportWebsocketServer<any>> | null

Methods

register(peer: Earthstar.Peer)