Boost
Libraries
arrow_drop_down
Boost.Url
M
D

This Release

Vinnie Falco
Vinnie Falco
Maintainer
Alan de Freitas
Alan de Freitas
Maintainer

Dependencies

Library dependencies will be generated soon, please check back later.

Boost.URL is a portable C++ library which provides containers and algorithms for handling URLs as described by RFC 3986. It supports parsing, inspection, modification, normalization, and resolution of URLs, with interfaces designed for network programs that need to process URLs efficiently and securely from untrusted sources.

url_view uv("https://www.example.com/path/to/file.txt?id=1001&name=John%20Doe");

for (auto v : uv.params())
    std::cout << v.key << "=" << v.value << "\n";
// id=1001
// name=John Doe

url u = uv;
u.set_scheme("http")
 .set_encoded_host("boost.org")
 .set_encoded_path("/index.htm")
 .remove_query()
 .params().append({"key", "value"});

std::cout << u;
// http://boost.org/index.htm?key=value

All Time

sdarwin
sdarwin
Contributor
Alexander Grund
Alexander Grund
Contributor
Alexey Mednyy
Alexey Mednyy
Contributor
jack
jack
Contributor
pengzhendong
pengzhendong
Contributor
Daniel Richard G
Daniel Richard G
Contributor
Ed Catmur
Ed Catmur
Contributor
Mohammad Nejati
Mohammad Nejati
Contributor
Ed Tanous
Ed Tanous
Contributor
Christian Mazakas
Christian Mazakas
Contributor
Rene Rivera
Rene Rivera
Contributor
ivanpanch
Contributor
BrianWeed
BrianWeed
Contributor