You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestBackend.ts 241B

1234567891011
  1. import { RPCServer } from '../src/Backend'
  2. new RPCServer(20000, [{
  3. name: "HelloWorldRPCGroup",
  4. publicRPCs: () => [],
  5. localRPCs: () => [{
  6. type: 'Call',
  7. name: 'echo',
  8. call: async (s:string) => s,
  9. }]
  10. }])