interface-relay/dist/swarm.d.ts

7 lines
228 B
TypeScript
Raw Normal View History

2022-12-30 06:08:54 +00:00
export type ProtocolHandler = (peer: any, muxer: any) => void;
export declare class ProtocolManager {
constructor(swarm: any);
register(name: string, handler: ProtocolHandler): boolean;
}
//# sourceMappingURL=swarm.d.ts.map