tower-web icon indicating copy to clipboard operation
tower-web copied to clipboard

Generate client code corresponding to defined server endpoints

Open sinhpham opened this issue 7 years ago • 1 comments

Would it be possible to also generate client code? Take the ArgResource path_multi_str example, would be awesome if we could generate something like:

ArgResourceClient::path_multi_str(foo: String, bar: String) -> Result<String, ()>

Double awesome if we could generate multiple versions for different platforms, like using normal reqwest for CLI apps, and then using yew for wasm.

sinhpham avatar Aug 20 '18 00:08 sinhpham

Related to: https://github.com/carllerche/tower-web/issues/63

anderejd avatar Aug 20 '18 06:08 anderejd