|  | @@ -46,18 +46,6 @@ public:
 | 
											
												
													
														|  |    static void ExpandRegistryValues(std::string& source,
 |  |    static void ExpandRegistryValues(std::string& source,
 | 
											
												
													
														|  |                                     KeyWOW64 view = KeyWOW64_Default);
 |  |                                     KeyWOW64 view = KeyWOW64_Default);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -  enum HTTPMethod {
 |  | 
 | 
											
												
													
														|  | -    HTTP_GET,
 |  | 
 | 
											
												
													
														|  | -    HTTP_POST
 |  | 
 | 
											
												
													
														|  | -  };
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  /**
 |  | 
 | 
											
												
													
														|  | -   * Perform an HTTP request.
 |  | 
 | 
											
												
													
														|  | -   */
 |  | 
 | 
											
												
													
														|  | -  static int HTTPRequest(std::string url, HTTPMethod method,
 |  | 
 | 
											
												
													
														|  | -                          std::string& response,
 |  | 
 | 
											
												
													
														|  | -                          std::string fields = "", int timeout = 10);
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |    /**
 |  |    /**
 | 
											
												
													
														|  |     * Platform independent escape spaces, unix uses backslash,
 |  |     * Platform independent escape spaces, unix uses backslash,
 | 
											
												
													
														|  |     * windows double quotes the string.
 |  |     * windows double quotes the string.
 | 
											
										
											
												
													
														|  | @@ -354,6 +342,18 @@ public:
 | 
											
												
													
														|  |    static std::string RelativePath(const char* local, const char* remote);
 |  |    static std::string RelativePath(const char* local, const char* remote);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  #ifdef CMAKE_BUILD_WITH_CMAKE
 |  |  #ifdef CMAKE_BUILD_WITH_CMAKE
 | 
											
												
													
														|  | 
 |  | +  enum HTTPMethod {
 | 
											
												
													
														|  | 
 |  | +    HTTP_GET,
 | 
											
												
													
														|  | 
 |  | +    HTTP_POST
 | 
											
												
													
														|  | 
 |  | +  };
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  /**
 | 
											
												
													
														|  | 
 |  | +   * Perform an HTTP request.
 | 
											
												
													
														|  | 
 |  | +   */
 | 
											
												
													
														|  | 
 |  | +  static int HTTPRequest(std::string url, HTTPMethod method,
 | 
											
												
													
														|  | 
 |  | +                          std::string& response,
 | 
											
												
													
														|  | 
 |  | +                          std::string fields = "", int timeout = 10);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    /** Remove an environment variable */
 |  |    /** Remove an environment variable */
 | 
											
												
													
														|  |    static bool UnsetEnv(const char* value);
 |  |    static bool UnsetEnv(const char* value);
 | 
											
												
													
														|  |  
 |  |  
 |