Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 342 Bytes
class Server {
static var inst : Api;
static function main() {
inst = new Api();
// create an incoming connection and give acces to the "inst" object
var ctx = new haxe.remoting.Context();
ctx.addObject("inst",inst);
if( haxe.remoting.HttpConnection.handleRequest(ctx) )
return;
}
}
Jump to Line
Something went wrong with that request. Please try again.