sociomantic-tsunami / swarm

Asynchronous client/node framework library
Boost Software License 1.0
14 stars 26 forks source link

Return node's status from `client.RequestOnConn.useNode` #398

Closed tiyash-basu-sociomantic closed 5 years ago

tiyash-basu-sociomantic commented 5 years ago

This helps the caller check between success and failure of the connection, and also distinguish between two different failure reasons, a. between a node being absent, or b. there being a connection failure to the said node.

Fixes #372