diff options
Diffstat (limited to 'protocols/FacebookRM/src/http_request.cpp')
-rw-r--r-- | protocols/FacebookRM/src/http_request.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/protocols/FacebookRM/src/http_request.cpp b/protocols/FacebookRM/src/http_request.cpp index 8daa81a5b5..3e9f8ff53c 100644 --- a/protocols/FacebookRM/src/http_request.cpp +++ b/protocols/FacebookRM/src/http_request.cpp @@ -52,34 +52,3 @@ HttpRequest::HttpRequestBody& HttpRequest::HttpRequestBody::operator<<(const CHA content.AppendFormat("%s=%s", param.szName, utils::url::encode(param.szValue).c_str()); return *this; } - -HttpRequest::HttpRequestUrl& HttpRequest::HttpRequestUrl::operator<<(const char *param) -{ - if (param) - request.AddUrlParameter("%s", param); - return *this; -} - -HttpRequest::HttpRequestUrl& HttpRequest::HttpRequestUrl::operator<<(const BOOL_PARAM ¶m) -{ - request.AddUrlParameter("%s=%s", param.szName, param.bValue ? "true" : "false"); - return *this; -} - -HttpRequest::HttpRequestUrl& HttpRequest::HttpRequestUrl::operator<<(const INT_PARAM ¶m) -{ - request.AddUrlParameter("%s=%i", param.szName, param.iValue); - return *this; -} - -HttpRequest::HttpRequestUrl& HttpRequest::HttpRequestUrl::operator<<(const INT64_PARAM ¶m) -{ - request.AddUrlParameter("%s=%lld", param.szName, param.iValue); - return *this; -} - -HttpRequest::HttpRequestUrl& HttpRequest::HttpRequestUrl::operator<<(const CHAR_PARAM ¶m) -{ - request.AddUrlParameter("%s=%s", param.szName, param.szValue); - return *this; -} |