typescript-rest
typescript-rest copied to clipboard
Client implementation ?
trafficstars
Hi,
Is there a support for client implementation ? I would like to be able to declare an interface, annotated for the declaration of the REST API and then :
- Implement it on server side
- Instantiate a client, on client side, in order to be able to call it like a function, without caring about REST at all.
Also it would be really great for Isomorphic apps, as it would enable to call the same api functions on server and client.
I really like the idea. Accepting PR