summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httppolicyglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcorehttp/_httppolicyglobal.h')
-rw-r--r--indra/llcorehttp/_httppolicyglobal.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/indra/llcorehttp/_httppolicyglobal.h b/indra/llcorehttp/_httppolicyglobal.h
index e02da4386a..d9114d167f 100644
--- a/indra/llcorehttp/_httppolicyglobal.h
+++ b/indra/llcorehttp/_httppolicyglobal.h
@@ -24,8 +24,8 @@
* $/LicenseInfo$
*/
-#ifndef _LLCORE_HTTP_POLICY_GLOBAL_H_
-#define _LLCORE_HTTP_POLICY_GLOBAL_H_
+#ifndef _LLCORE_HTTP_POLICY_GLOBAL_H_
+#define _LLCORE_HTTP_POLICY_GLOBAL_H_
#include "httprequest.h"
@@ -49,30 +49,30 @@ namespace LLCore
class HttpPolicyGlobal
{
public:
- HttpPolicyGlobal();
- ~HttpPolicyGlobal();
+ HttpPolicyGlobal();
+ ~HttpPolicyGlobal();
+
+ HttpPolicyGlobal & operator=(const HttpPolicyGlobal &);
- HttpPolicyGlobal & operator=(const HttpPolicyGlobal &);
-
private:
- HttpPolicyGlobal(const HttpPolicyGlobal &); // Not defined
+ HttpPolicyGlobal(const HttpPolicyGlobal &); // Not defined
public:
- HttpStatus set(HttpRequest::EPolicyOption opt, long value);
- HttpStatus set(HttpRequest::EPolicyOption opt, const std::string & value);
- HttpStatus set(HttpRequest::EPolicyOption opt, HttpRequest::policyCallback_t value);
- HttpStatus get(HttpRequest::EPolicyOption opt, long * value) const;
- HttpStatus get(HttpRequest::EPolicyOption opt, std::string * value) const;
- HttpStatus get(HttpRequest::EPolicyOption opt, HttpRequest::policyCallback_t * value) const;
-
+ HttpStatus set(HttpRequest::EPolicyOption opt, long value);
+ HttpStatus set(HttpRequest::EPolicyOption opt, const std::string & value);
+ HttpStatus set(HttpRequest::EPolicyOption opt, HttpRequest::policyCallback_t value);
+ HttpStatus get(HttpRequest::EPolicyOption opt, long * value) const;
+ HttpStatus get(HttpRequest::EPolicyOption opt, std::string * value) const;
+ HttpStatus get(HttpRequest::EPolicyOption opt, HttpRequest::policyCallback_t * value) const;
+
public:
- long mConnectionLimit;
- std::string mCAPath;
- std::string mCAFile;
- std::string mHttpProxy;
- long mTrace;
- long mUseLLProxy;
- HttpRequest::policyCallback_t mSslCtxCallback;
+ long mConnectionLimit;
+ std::string mCAPath;
+ std::string mCAFile;
+ std::string mHttpProxy;
+ long mTrace;
+ long mUseLLProxy;
+ HttpRequest::policyCallback_t mSslCtxCallback;
}; // end class HttpPolicyGlobal
} // end namespace LLCore