Upgrade to transport v1.3.0
This commit is contained in:
		
							parent
							
								
									b2526b4538
								
							
						
					
					
						commit
						da74bc0875
					
				| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
		"dxml": "0.4.4",
 | 
			
		||||
		"handy-http-data": "1.2.0",
 | 
			
		||||
		"handy-http-primitives": "1.6.0",
 | 
			
		||||
		"handy-http-transport": "1.2.1",
 | 
			
		||||
		"handy-http-transport": "1.3.0",
 | 
			
		||||
		"handy-http-websockets": "1.1.1",
 | 
			
		||||
		"mir-algorithm": "3.22.4",
 | 
			
		||||
		"mir-core": "1.7.3",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ public import handy_http_websockets;
 | 
			
		|||
 *   port = The port to host the server on. Defaults to 8080.
 | 
			
		||||
 */
 | 
			
		||||
void startServer(HttpRequestHandler handler, ushort port = 8080) {
 | 
			
		||||
    HttpTransport tp = new Http1Transport(handler, port);
 | 
			
		||||
    HttpTransport tp = new TaskPoolHttp1Transport(handler, port);
 | 
			
		||||
    tp.start();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue