package uri

  1. Overview
  2. Docs
An RFC3986 URI/URL parsing library

Install

Dune Dependency

Authors

Maintainers

Sources

uri-1.9.7.tbz
sha256=a7ab6aa44232e03317b0db2ea200f422587bf801540755896ad30d17d8b682a8
md5=2fb8da55f99a529bcb211a1d99822419

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 Jbuilder build system.

opam install uri --deps-only
eval `opam config env`
jbuilder build --dev
jbuilder 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 base Uri module

  • uri.top - the toplevel printers for use with utop

  • uri.services - the Uri_services module that provides the equivalent of services(5)

  • uri.services_full - the Uri_services_full module that provides a complete copy of the /etc/services file. This is quite large and normally not needed.

Contact

OCaml

Innovation. Community. Security.