uri-builder 0.1.0

Simple URI builder library
Documentation

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.