import { PartnerWebServer } from "https://deno.land/x/earthstar@v10.0.0/mod.ts";
Module
x/earthstar/mod.ts>PartnerWebServer#closeConnection
Earthstar is a tool for private, undiscoverable, offline-first networks.
debugexamplesscriptssrcAttachmentDriverFilesystemAttachmentDriverMemoryConnectionRefusedErrorDocDriverLocalStorageDocDriverMemoryDocDriverSqliteEarthstarErrorExtensionKnownSharesExtensionServeContentExtensionServerSettingsExtensionSyncWebLoggerMultiformatReplicaNetworkErrorNotImplementedErrorNotSupportedErrorPartnerLocalPartnerWebClientPartnerWebServerPeerReplicaReplicaCacheReplicaCacheIsClosedErrorReplicaDriverFsReplicaDriverMemoryReplicaIsClosedErrorServerServerCoreSharedSettingsSyncerTimeoutErrorValidationErrorAttachmentIngestEventAttachmentPruneEventAuthorKeypairCheckIntOptsCheckObjOptsCheckStringOptsCleanUpQueryResultDocAlreadyExistsDocBaseDocEs4DocEs5DocInputBaseDocInputEs4DocInputEs5ExpireEventExtensionServeContentOptsFormatterGenerateOptsICryptoICryptoDriverIFormatIngestEventFailureIngestEventNothingHappenedIngestEventSuccessIPeerIReplicaAttachmentDriverIReplicaConfigIReplicaDocDriverIReplicaDriverIServerExtensionISyncPartnerKeypairBytesMultiFormatReplicaOptsQueryQueryFilterReplicaEventDidCloseReplicaEventWillCloseSyncerOptsAsyncCallbackAttachmentTransferOptsAttachmentTransferProgressEventAttachmentTransferReportAttachmentTransferStatusAuthorAddressAuthorShortnameBase32StringCallbackCheckerCheckerSchemaClassThatImplementsConfigEs5DefaultDocDefaultFormatDefaultFormatsDocAttachmentDocInputWithFormatDocThumbnailDocWithAttachmentDocWithFormatFormatArgFormatConfigTypeFormatDocTypeFormatInputTypeFormatNameFormatNameTypeFormatsArgFormatsConfigRecordGetTransferOptsHistoryModeIngestEventLocalIndexParsedAddressPathPeerIdProcessedAllExistingEventQuerySourceEventQuerySourceModeQuerySourceOptsRangeMessageReplicaEventReplicaIdServerOptsShareAddressShareKeypairShareNameSignatureSortOrderSyncAgentAbortEventSyncAgentDocEventSyncAgentEventSyncAgentFulfilledEventSyncAgentHaveEventSyncAgentOptsSyncAgentPruneEventSyncAgentRangeMessageEventSyncAgentStatusSyncAgentWantAttachmentEventSyncAgentWantEventSyncAppetiteSynceAgentNewAttachmentEventSyncerDiscloseEventSyncerEventSyncerFulfilledEventSyncerHeartbeatSyncerStatusSyncerSyncAgentEventSyncOrAsyncCallbackThunkTimestampWillMatch_matchAllalphaLoweralphaUpperauthorAddressCharsauthorKeyCharsauthorNameCharsb32charsCryptoCryptoDriverNobleCryptoDriverSodiumDEFAULT_FORMATDEFAULT_FORMATSDEFAULT_LOG_LEVELDEFAULT_QUERYdigitsextractTemplateVariablesFromPathextractTemplateVariablesFromPathUsingRegexFormatEs4FormatEs5GlobalCryptoDriverglobToQueryAndRegexglobToRegexinsertVariablesIntoTemplatepathCharspathPunctuationworkspaceAddressCharsworkspaceKeyCharsworkspaceNameCharsassembleAuthorAddressassembleShareAddressb64StringToBytesbase32BytesToStringbase32StringToBytesbytesToStringcheckAuthorIsValidcheckIntcheckIsPlainObjectcheckLiteralcheckObjcheckShareIsValidcheckStringcleanUpQuerycompareArrayscompareBasiccompareByFncompareByObjArrayFncompareByObjKeyconcatBytescountCharsdecodeKeypairToBytesdocIsExpireddocMatchesFilterencodeAuthorKeypairToStringsencodeShareKeypairToStringsescapeStringForRegexgenerateShareAddressgetFormatIntersectiongetFormatLookupgetFormatsWithFallbackgetFormatWithFallbackgetLogLevelgetLogLevelsidentifyBufOrBytesisAuthorKeypairisBufferisBytesisDigitisErrisObjectEmptyisOnlyPrintableAsciiisPlainObjectmicrosecondNownotErronlyHasCharsparseAddressparseAuthorAddressparseAuthorOrShareAddressparseShareAddressparseTemplatequeryByGlobqueryByTemplaterandomIdreplaceAllsetDefaultLogLevelsetGlobalCryptoDriversetLogLevelsleepsortedInPlacestringLengthInBytesstringToBytessyncReplicaAndFsDirupdateLogLevelsCmpLogLeveledrfc4648sha256_uint8arrayAsyncQueueFingerprintTreeRangeMessengerXXH64DeferredLiftingMonoidRangeMessengerConfigbytesEqualsdeferredshallowEqualArraysshallowEqualObjectsxxhash64AttachmentDriverIndexedDBAttachmentDriverMemoryConnectionRefusedErrorDocDriverIndexedDBDocDriverLocalStorageDocDriverMemoryEarthstarErrorLoggerMultiformatReplicaNetworkErrorNotImplementedErrorNotSupportedErrorPartnerLocalPartnerWebClientPeerReplicaReplicaCacheReplicaCacheIsClosedErrorReplicaDriverMemoryReplicaDriverWebReplicaIsClosedErrorSharedSettingsSyncerTimeoutErrorValidationErrorAttachmentIngestEventAttachmentPruneEventAuthorKeypairCheckIntOptsCheckObjOptsCheckStringOptsCleanUpQueryResultDocAlreadyExistsDocBaseDocEs4DocEs5DocInputBaseDocInputEs4DocInputEs5ExpireEventFormatterGenerateOptsICryptoICryptoDriverIFormatIngestEventFailureIngestEventNothingHappenedIngestEventSuccessIPeerIReplicaAttachmentDriverIReplicaConfigIReplicaDocDriverIReplicaDriverISyncPartnerKeypairBytesMultiFormatReplicaOptsQueryQueryFilterReplicaEventDidCloseReplicaEventWillCloseSyncerOptsAsyncCallbackAttachmentTransferOptsAttachmentTransferProgressEventAttachmentTransferReportAttachmentTransferStatusAuthorAddressAuthorShortnameBase32StringCallbackCheckerCheckerSchemaClassThatImplementsConfigEs5DefaultDocDefaultFormatDefaultFormatsDocAttachmentDocInputWithFormatDocThumbnailDocWithAttachmentDocWithFormatFormatArgFormatConfigTypeFormatDocTypeFormatInputTypeFormatNameFormatNameTypeFormatsArgFormatsConfigRecordGetTransferOptsHistoryModeIngestEventLocalIndexParsedAddressPathPeerIdProcessedAllExistingEventQuerySourceEventQuerySourceModeQuerySourceOptsRangeMessageReplicaEventReplicaIdShareAddressShareKeypairShareNameSignatureSortOrderSyncAgentAbortEventSyncAgentDocEventSyncAgentEventSyncAgentFulfilledEventSyncAgentHaveEventSyncAgentOptsSyncAgentPruneEventSyncAgentRangeMessageEventSyncAgentStatusSyncAgentWantAttachmentEventSyncAgentWantEventSyncAppetiteSynceAgentNewAttachmentEventSyncerDiscloseEventSyncerEventSyncerFulfilledEventSyncerHeartbeatSyncerStatusSyncerSyncAgentEventSyncOrAsyncCallbackThunkTimestampWillMatch_matchAllalphaLoweralphaUpperauthorAddressCharsauthorKeyCharsauthorNameCharsb32charsCryptoCryptoDriverNobleDEFAULT_FORMATDEFAULT_FORMATSDEFAULT_LOG_LEVELDEFAULT_QUERYdigitsextractTemplateVariablesFromPathextractTemplateVariablesFromPathUsingRegexFormatEs4FormatEs5GlobalCryptoDriverglobToQueryAndRegexglobToRegexinsertVariablesIntoTemplatepathCharspathPunctuationworkspaceAddressCharsworkspaceKeyCharsworkspaceNameCharsassembleAuthorAddressassembleShareAddressb64StringToBytesbase32BytesToStringbase32StringToBytesbytesToStringcheckAuthorIsValidcheckIntcheckIsPlainObjectcheckLiteralcheckObjcheckShareIsValidcheckStringcleanUpQuerycompareArrayscompareBasiccompareByFncompareByObjArrayFncompareByObjKeyconcatBytescountCharsdecodeKeypairToBytesdocIsExpireddocMatchesFilterencodeAuthorKeypairToStringsencodeShareKeypairToStringsescapeStringForRegexgenerateShareAddressgetFormatIntersectiongetFormatLookupgetFormatsWithFallbackgetFormatWithFallbackgetLogLevelgetLogLevelsidentifyBufOrBytesisAuthorKeypairisBufferisBytesisDigitisErrisObjectEmptyisOnlyPrintableAsciiisPlainObjectmicrosecondNownotErronlyHasCharsparseAddressparseAuthorAddressparseAuthorOrShareAddressparseShareAddressparseTemplatequeryByGlobqueryByTemplaterandomIdreplaceAllsetDefaultLogLevelsetGlobalCryptoDriversetLogLevelsleepsortedInPlacestringLengthInBytesstringToBytesupdateLogLevelsCmpLogLevel
mod.ts (default module)
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
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