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 254B

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