This page has not yet been reviewed for compatibility with version 0.9.0. Details may now be incorrect.
Indigo supports basic networking via HTTP or WebSockets.
Network calls and the game loop
Therefore, what we have is a side-effecting networking system inside Indigo which you communicate with via the normal event loop. If you want to send an HTTP request you emit a
GET(url, params, headers) event, and at the beginning of some future frame, hopefully you'll get an
HttpResponse(status, headers, body). WebSockets work in a similar way but are complicated by having more states.
For a complete list of network events, please head over the the events documentation.
The examples make use of buttons which you can find out about on the UI Components page.