You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@ This library was influenced by the designs of:
25
25
26
26
## Comparison with Cap'n Web
27
27
28
-
Cap'n Web is an object-capabilities RPC library from [Kenton Varda](https://github.com/kentonv). Beyond its
28
+
Cap'n Web is an object-capabilities RPC library from [Kenton Varda](https://github.com/kentonv). Beyond its
29
29
support for object-capabilities, it is designed to integrate very nicely with TypeScript and Cloudflare Workers.
30
30
I couldn't find a JSON-RPC library that worked as nicely, so I ~~stole its design~~ used Cap'n Web as inspiration
31
31
for a JSON-RPC implementation.
32
32
33
-
Cap'n Web has a number of benefits over JSON-RPC
33
+
Cap'n Web has a number of benefits over JSON-RPC
34
34
35
35
-**Object capabilities**. You can pass functions and classes by reference. This is more than a feature, it completely changes how expressive your API can be, and enables patterns that are not possible with a more limited RPC protocol.
36
36
-**Pipelining**. Invoke two methods and then pass their results into a third in one round-trip.
@@ -90,11 +90,11 @@ export class HelloServiceImpl implements HelloService {
0 commit comments