Added unified interface for HTTP requests with pre/post hooks

This commit is contained in:
Alexander Corn
2016-03-04 18:26:47 -05:00
parent 574a3127cb
commit eecd682033
15 changed files with 159 additions and 81 deletions

View File

@@ -148,7 +148,7 @@ function request(community, url, key, time, tag, params, json, callback) {
params.m = "android";
params.tag = tag;
community.request.get({
community.httpRequestGet({
"uri": "https://steamcommunity.com/mobileconf/" + url,
"qs": params,
"json": !!json