0.5.2 • Published 8 years ago

simple-typed-rpc v0.5.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Simple typed RPC

Experimental typesafe RPC library for TypeScript

Usage

Setting up an RPC channel requires

  • A transport passing raw JSON-serialized payloads between the frontend and the backend. Usually consists of a transport client on the frontend side and a transport server on the backend side.
  • A frontend proxy translating method calls into payloads to be passed through the transport, and parsing response payloads into method return values.
  • A backend proxy parsing method call payloads arriving through the transport into method calls onto the actual backend implementation, and translating return values into payloads to be passed back through the transport.

For now, see tests for details.

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago