}
@Override
public void call(JsonElement request, final AsyncScriptFunction.Callback<JsonElement> callback) {
JsonObject r = request.getAsJsonObject();
SimpleHttpClient c = new SimpleHttpClient().on(client);
c.withMethod(HttpRequest.Method.valueOf(getString(r, "method", "GET").toUpperCase()));
String post = getString(r, "post", null);
if (post != null) {
c.post(ByteBuffer.wrap(post.getBytes(Http.UTF8_CHARSET)));
}