uri-builder

Crates.iouri-builder
lib.rsuri-builder
version0.1.0
sourcesrc
created_at2020-09-14 09:29:08.940962
updated_at2020-09-14 09:29:08.940962
descriptionSimple URI builder library
homepage
repositoryhttps://github.com/dikuchan/uri-builder
max_upload_size
id288529
size8,508
Dmitriy Kuklin (dikuchan)

documentation

README

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.

Commit count: 0

cargo fmt