@chris.troutner/ipfs-message-port-client
Version:
IPFS client library for accessing IPFS node over message port
16 lines • 698 B
TypeScript
export = Service;
declare class Service<T> {
/**
* @param {string} namespace - Namespace that remote API is served under.
* @param {ProcedureNames<T>} methods - Method names of the remote API.
* @param {MessageTransport} transport - Transport to issue queries over.
*/
constructor(namespace: string, methods: ProcedureNames<T>, transport: MessageTransport);
transport: import("./transport");
}
declare namespace Service {
export { MessageTransport, ProcedureNames };
}
type ProcedureNames<T_1> = import('@chris.troutner/ipfs-message-port-protocol/src/rpc').ProcedureNames<T_1>;
type MessageTransport = import('./transport');
//# sourceMappingURL=service.d.ts.map