dmrpc.pp 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. This file is part of the Free Component Library
  3. This module routes the actual requests. See the options set on the datamodule
  4. Copyright (c) 2022 by Michael Van Canneyt [email protected]
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. unit dmRPC;
  12. {$mode ObjFPC}{$H+}
  13. interface
  14. uses
  15. Classes, SysUtils, HTTPDefs, websession, jsonparser, fpHTTP, fpWeb, fpjsonrpc, webjsonrpc;
  16. type
  17. TRPCModule = class(TJSONRPCModule)
  18. private
  19. public
  20. end;
  21. var
  22. RPCModule: TRPCModule;
  23. implementation
  24. {$R *.lfm}
  25. initialization
  26. TRPCModule.RegisterModule('RPC');
  27. end.