9 lines
		
	
	
		
			278 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			278 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 {}
 | |
| }
 |