View Code? Open in Web Editor
NEW
Dart library providing a natural interface to asynchronous network messaging by implementing a back-and-forth binary messaging protocol on top of WebSocket. Sort of like RPC but with trampolining.
License: BSD 3-Clause "New" or "Revised" License
wstalk's People
Contributors
Stargazers
Watchers
wstalk's Issues
Useful when fetching large arrays of data.
Reply is a sequence of messages instead of a single message, ended by either an exception or an end of reply message.
Use Uint8List vs List where relevant. List is implemented by Uint8List.
Throw exception on sendEndOfStream when not a stream
Validate whether a generated request ID is in use and awaiting response already.
Local timeout check should fail faster than remote, so that the remote can be notified of the timeout, and both hosts agree on the timeout.