選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

RPCaller.d.ts 627B

1234567891011121314151617181920
  1. declare type RPCReceiver = {
  2. [RPCGroup in string]: any;
  3. };
  4. /**
  5. * Dynamic library to communicate with FrontblockService remotely
  6. *
  7. * This will be automatically injected into the webpages served by FrontblockService
  8. * Will ask it's service for available RPCs and parse them into methods of this object
  9. * for convenient access.
  10. */
  11. export declare class RPCaller implements RPCReceiver {
  12. private socket;
  13. constructor(port: number, server: string, tls?: boolean);
  14. connect(): Promise<void>;
  15. info(): Promise<any>;
  16. private callGenerator;
  17. private hookGenerator;
  18. private unhookGenerator;
  19. }
  20. export {};