Skip to main content
Module

x/earthstar_replica_server/mod.ts>ExtensionServerSettings

An always-online Earthstar peer for your shares.
Latest
class ExtensionServerSettings
Re-export
import { ExtensionServerSettings } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/mod.ts";

Constructors

new
ExtensionServerSettings(opts: ExtensionServerSettingsOpts)

Properties

private
configReplica: Earthstar.MultiformatReplica
private
onCreateReplica: (configurationShareAddress: string) => Earthstar.Replica

Methods

handler(_req: Request): Promise<Response | null>
register(peer: Earthstar.Peer): Promise<void>