package uritemplate

  1. Overview
  2. Docs
OCaml implementation of URI templates (RFC6570)

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=4ea0e98cddffe645e9f3e9618933bb28
sha512=a552128dfe54552c8fb6f5dab5a402775de96a825876c34ec8ee12fc280e31c87f7252e73d7973a4a1b716721d98ad5b74ed7de1995007f62e9b3d3a8063d9f3

README.md.html

uritemplate-ocaml

Work in progress implementation of URI templates for OCaml. (RFC6570 - http://tools.ietf.org/html/rfc6570)

Currently compliant to level 4

ODoc documentation avaliable here.

Usage

# #require "uritemplate";;

# template_uri_with_strings ~template:"https://example.com{/a,b}{?b}{#e,f}" ~variables:[("a", "a"); ("b", "b"); ("e", "e"); ("f", "f")];;
- : string = "https://example.com/a/b?b=b#e,f"
OCaml

Innovation. Community. Security.