The need to communicate between an Extension and a remote server via HTTP/S is quite a common use case. Since SmartFoxServer already comes with embedded HTTP API we’re going to demonstrate how simple it is to integrate web requests in your server side code.
Continue readingTag Archives: http
HTTP Request and Extensions integration
In this new recipe we’re going to take a look at how we can integrate regular HTTP calls with the SmartFoxServer runtime and specifically how to communicate with Extension code via HTTP GET/POST requests.
Common applications of the HTTP/Extension interoperability are debugging interfaces and administration UIs. With this approach developers can easily build a simple web interface that reports that game state, monitors data structures, users etc… allowing to quickly debug problems while testing, triggering events and so on.
Continue reading