package uri
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ecf51a748d320ede7273f338e18b1d0a86ef0e7e915194e3ebccf945b3afb66b
md5=a5d9ed86f9f26d7936523afecd623d61
README.md.html
Uri -- an RFC3986 URI/URL parsing library
This is an OCaml implementation of the RFC3986 specification for parsing URI or URLs.
Installation
Via OPAM
The OPAM package manager can be used to install this library from source.
opam install uri
Locally
You can build the source code locally via the dune build system.
opam install uri --deps-only
eval `opam config env`
dune build
dune runtest
will install the dependencies via OPAM, build the library and then run the tests in the lib_test/ directory.
Usage
Once installed, there are three ocamlfind packages available for your use:
uri
- the baseUri
moduleuri.top
- the toplevel printers for use with utopuri.sexp
- provides converters to and from s-expressions (via aUri_sexp.t
type alias)uri.services
- theUri_services
module that provides the equivalent of services(5)uri.services_full
- theUri_services_full
module that provides a complete copy of the/etc/services
file. This is quite large and normally not needed.
Contact
API Documentation: http://docs.mirage.io/uri/