feat(uri): redesign RequestUri type into Uri
Closes #1000 BREAKING CHANGE: The name of `RequestUri` has changed to `Uri`. It is no longer an `enum`, but an opaque struct with getter methods.
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							1868f8548d
						
					
				
				
					commit
					9036443e6b
				
			| @@ -31,7 +31,7 @@ pub type Result<T> = ::std::result::Result<T, Error>; | ||||
| pub enum Error { | ||||
|     /// An invalid `Method`, such as `GE,T`. | ||||
|     Method, | ||||
|     /// An invalid `RequestUri`, such as `exam ple.domain`. | ||||
|     /// An invalid `Uri`, such as `exam ple.domain`. | ||||
|     Uri(url::ParseError), | ||||
|     /// An invalid `HttpVersion`, such as `HTP/1.1` | ||||
|     Version, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user