urilib ====== [RFC-3986](https://tools.ietf.org/html/rfc3986) URI Library for Erlang. [![Build Status](https://travis-ci.org/gmr/urilib.svg?branch=master)](https://travis-ci.org/gmr/urilib) API --- ## Function Index ##
build/1 | Returns a URI from the record passed in. |
decode/1 | Decode a percent encoded string value. |
decode_plus/1 | Decode a percent encoded string value that uses pluses for spaces. |
encode/1 | Percent encode a string value. |
encode_plus/1 | Percent encode a string value similar to encode/1, but encodes spaces with a plus (+) instead of %20. |
parse_uri/1 | Parse a URI string returning the parsed data as a record. |
parse_url/1 | Parse a URL string returning the parsed data as a record. |
build(Uri::Value) -> URI
Value = #uri{} | #url{}
URI = string()
decode(Value) -> DecodedValue
Value = string()
DecodeValue = string()
decode_plus(Value) -> DecodedValue
Value = string()
DecodeValue = string()
encode(Value) -> EncodedValue
Value = string()
EncodedValue = string()
encode_plus(Value) -> EncodedValue
Value = string()
EncodedValue = string()
parse_uri(URI) -> ParsedURI
URI = string()
ParsedURI = #uri{}
parse_url(URL) -> ParsedURL
URI = string()
ParsedURL = #url{}