Expose Server::many for creating a Server that will listen on many (ip, port) pairs. Handler still receives a simple Iterator of (Request, Response) pairs. This is a breaking change since it changes the representation of Listener, but Handler and Server::http are unchanged in their API. Fixes #7
		
			
				
	
	
		
			28 lines
		
	
	
		
			607 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			607 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| 
 | |
| name = "hyper"
 | |
| version = "0.0.1"
 | |
| authors = ["Sean McArthur <sean.monstar@gmail.com>"]
 | |
| 
 | |
| [dependencies.url]
 | |
| git = "https://github.com/servo/rust-url"
 | |
| 
 | |
| [dependencies.mime]
 | |
| git = "https://github.com/seanmonstar/mime.rs"
 | |
| 
 | |
| [dependencies.unsafe-any]
 | |
| git = "https://github.com/reem/rust-unsafe-any"
 | |
| 
 | |
| [dependencies.intertwine]
 | |
| git = "https://github.com/reem/rust-intertwine"
 | |
| 
 | |
| [dependencies.move-acceptor]
 | |
| git = "https://github.com/reem/rust-move-acceptor"
 | |
| 
 | |
| [dev-dependencies.curl]
 | |
| git = "https://github.com/carllerche/curl-rust"
 | |
| 
 | |
| [dev-dependencies.http]
 | |
| git = "https://github.com/chris-morgan/rust-http"
 | |
| 
 |