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

Adding an option letting the developer choose a request id generator function #76

Closed enzomacri closed 8 years ago

enzomacri commented 8 years ago

Adding an idGenerator option to client so that developers can use their own request id generator function. If no idGenerator is provided, it will still use Math.random as before

dfellis commented 8 years ago

Hey @emacri sorry for not noticing this before. I've been busy on internal projects lately and hadn't even logged into Github in a while. I'm going to merge this and publish a new point-release.