11 lines
		
	
	
		
			311 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			311 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, contentType: String,
 | |
| 			callback: Int->Int->String->Void /*error, response, body*/): Void {
 | |
| 		callback(418, 418, null);
 | |
| 	}
 | |
| }
 |