UNPKG

@berish/rfp

Version:

Binary secure transport organization protocol for peer communication using function fingerprints

14 lines 789 B
import type { ISerberPlugin } from '@berish/serber'; import { Peer, PeerRequest } from '../../peer'; import { SYMBOL_SERBER_PEER } from '../abstract'; import { DeferredReceiveList, SYMBOL_SERBER_CHUNK_REPLY_PATH, SYMBOL_SERBER_DEFERRED_LIST } from '../functionToFunctionPrintPlugin'; import { PeerDecorator } from './peerDecorator'; export declare const SYMBOL_SERBER_REQUEST: unique symbol; export interface PeerDecoratorToResultPluginOptions { [SYMBOL_SERBER_PEER]: Peer; [SYMBOL_SERBER_DEFERRED_LIST]?: DeferredReceiveList; [SYMBOL_SERBER_CHUNK_REPLY_PATH]?: string; [SYMBOL_SERBER_REQUEST]?: PeerRequest; } export declare const peerDecoratorToResultPlugin: ISerberPlugin<PeerDecorator<any>, any, PeerDecoratorToResultPluginOptions>; //# sourceMappingURL=plugin.d.ts.map