mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Don't use a hard-coded user-agent for placefiles, add DPI parameter
This commit is contained in:
		
							parent
							
								
									751cafbfe7
								
							
						
					
					
						commit
						e3449e382d
					
				
					 5 changed files with 58 additions and 6 deletions
				
			
		
							
								
								
									
										17
									
								
								wxdata/include/scwx/network/cpr.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								wxdata/include/scwx/network/cpr.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <cpr/cprtypes.h> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace network | ||||
| { | ||||
| namespace cpr | ||||
| { | ||||
| 
 | ||||
| ::cpr::Header GetHeader(); | ||||
| void          SetUserAgent(const std::string& userAgent); | ||||
| 
 | ||||
| } // namespace cpr
 | ||||
| } // namespace network
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat