Skip to main content
Latest
class ExtensionServerSettings
import { ExtensionServerSettings } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/src/extensions/server_settings.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>