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

Description

Tags

uri url templates RFC6570

Published: 25 Mar 2019

README

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"

Dependencies (2)

  1. stdcompat >= "5"
  2. dune

Dev Dependencies (3)

  1. odoc with-doc
  2. atdgen with-test
  3. ounit with-test

Used by

None

Conflicts

None