gloebit / opensim-moneymodule-gloebit

OpenSim addon module integrating with the Gloebit digital currency service
GNU Lesser General Public License v3.0
8 stars 10 forks source link

Colosi.async web requests #7

Closed colosi closed 9 years ago

colosi commented 9 years ago

Added functionality for asynchronous web requests. GetBalance() is still using synchronous web requests. ExchangeAccessToken() and Transact() are using asynchronous web requests. Added a number of helper callback functions to handle async web request flow. Added CompleteExchangeAccessToken() and CompleteTransact() to complete these once all async web requests processes finish. Added enum GloebitEndpoint to track endpoints. Added class GloebitRequestState to track and compile web requests through async flow.

bradkittenbrink commented 9 years ago

LGTM

added some minor stylistic suggestions

bradkittenbrink commented 9 years ago

LGTM