mirror of
https://github.com/correl/urilib.git
synced 2024-11-21 19:18:42 +00:00
A RFC-3986 URI Library for parsing and building URIs
bin | ||
doc | ||
include | ||
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
rebar.config |
urilib
RFC-3986 URI Library for Erlang.
Example Usage
-include_lib("urilib.h").
URI = urilib:parse("http://foo:bar@www.google.com/search?baz=qux#corgie"),
io:format("Parsed URI: ~p~n", [URI]).
URL = urllib:build({http, undefined, undefined, "www.google.com", undefined, "/search", [{"foo", "bar"}], "baz"}),
io:format("Built URL: ~s~n", [URL]).