Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 418 Bytes
package flux;
import flux.Core;
import js.Node;
interface RemoteProvider {
function addObject(s:String,obj:Dynamic,?recursive:Bool):Void;
function httpHandler(re:EReg,req:NodeHttpServerReq,resp:NodeHttpServerResp):Void;
}
class Remote {
public static function
provider(remoteID:String,obj:Dynamic):RemoteProvider {
var r = new flux.http.RemoteImpl();
r.addObject(remoteID,obj);
return r;
}
}