9 lines
		
	
	
		
			287 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
		
			287 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
| 
								 | 
							
								package kha.network;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import haxe.io.Bytes;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Http {
							 | 
						||
| 
								 | 
							
									public static function request(url: String, path: String, data: String, port: Int, secure: Bool, method: HttpMethod, headers: Map<String, String>,
							 | 
						||
| 
								 | 
							
										callback: Int->Int->String->Void /*error, response, body*/): Void {}
							 | 
						||
| 
								 | 
							
								}
							 |