mirror of
				https://github.com/asdlokj1qpi233/subconverter.git
				synced 2025-10-29 21:03:00 +00:00 
			
		
		
		
	First public version
This commit is contained in:
		
							
								
								
									
										18
									
								
								webget.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								webget.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| #ifndef WEBGET_H_INCLUDED | ||||
| #define WEBGET_H_INCLUDED | ||||
|  | ||||
| #include <string> | ||||
|  | ||||
| #ifdef _WIN32 | ||||
| #include <ws2tcpip.h> | ||||
| #endif // _WIN32 | ||||
|  | ||||
| #include "misc.h" | ||||
|  | ||||
| std::string webGet(std::string url, std::string proxy = ""); | ||||
| std::string httpGet(std::string host, std::string addr, std::string uri); | ||||
| std::string httpsGet(std::string host, std::string addr, std::string uri); | ||||
| long curlPost(std::string url, std::string data, std::string proxy); | ||||
| std::string buildSocks5ProxyString(std::string addr, int port, std::string username, std::string password); | ||||
|  | ||||
| #endif // WEBGET_H_INCLUDED | ||||
		Reference in New Issue
	
	Block a user