Star

Created With

linkCustom Client



You can use tyfon-client to easily work with TyFON servers without using auto-generated SDKs:

1link$npm i tyfon-client

1linkimport { invoke } from 'tyfon-client';

2link

3linkinvoke('http://localhost:4000/funcs', 'getMessage', 'Jack').then(console.log);


The invoke() method takes the URL for the TyFON server as the first argument (MUST start with http:// or https://), the name of the function to invoke as the second argument, and the rest of the arguments will be passed to the remote function.



Custom Client

Home Conventions Error Handling

CLI Referencechevron_right
Advanced Usagechevron_right