uber-archive / multitransport-jsonrpc

JSON-RPC Client (Node.js & Browser) and Server (Node.js) aim at "natural looking" server and client code.
116 stars 22 forks source link

More Better HTTP Events!!!1 #41

Open dfellis opened 10 years ago

dfellis commented 10 years ago

Adding more/better (more better?) events to the HTTP client and server transports. Also updating the readme to be more accurate for these events (and TCP events I forgot to add/update).

See the readme for the full list of new events (they should mostly mirror the TCP events) but note that the HTTP server and client are adding error events that, if unhandled, will cause an uncaughtException event that, if not also caught, will crash the Node app, so any current code would have to be updated to deal with that.

cc @emiwang @jsu1212