1 unstable release
0.1.0 | Sep 14, 2020 |
---|
#96 in #uri
8KB
162 lines
URI Builder
Simple URI builder library. Provides setter fields according to the URI specification.
Example
use uri_builder::URI;
let uri: String = URI::new("http")
.host("github")
.path_vec(vec!["dikuchan", "repos"].as_ref())
.query("page", 1)
.build();
The above example results in https://github.com/dikuchan/repos?page=1
.
Dependencies
~465KB