/rust_typescript_communication

different methods for communication between rust server and typescript client(browser)

Primary LanguageTypeScript

Rust TypeScript Communication

different methods for communication between rust server and typescript client(browser)

summary

  • all methods except grpc, support code-first approach: rust -> (optional)generate schema -> generate typescript
  • all methods support server streaming, but openapi's way is more low level
  • all methods support code completion for api methods and parameters

example