neo-modules
neo-modules copied to clipboard
Use a session protocol for some JSON-RPC methods
Some types of remote operations would benefit from a stateful protocol such as WebSockets or SignalR. Examples:
- SendRawTransaction and wait for results
- Sever sends every new block that is minted (without needing to implement the entire P2P protocol)
- Iterate over the results InvokeScript/InvokeFunction that returns an iterator