1. Victor Kotseruba
  2. ru.barbuza.http

Wiki

Clone wiki

ru.barbuza.http / Home

ru.barbuza.http

ru.barbuza.http is a tiny actionscript 3 library with mootools-like Request and Request.JSON classes.

usage example:

import ru.barbuza.http.HttpRequest;

new HttpRequest({
    url: 'http://example.com/',
    onSuccess: function(r:HttpResponse):void {
        trace(r.response);
    }
}).post({foo: 'bar'});

same with JSONHttpRequest - the only difference is onSuccess accepting JSONHttpResponse instead of HttpResponse.

Updated