package uritemplate

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=add517c628e4db4f582d7fea7303f6f2
sha512=ac64467eb2c21f7f5a12fbbcdd4b14f1a3df7adecdd58e9adaf3ea3b8a6f4967a35f3973eb4387b4dd21c73da6dc4a6ac3000e865c56bf9c5110dadd54843861

Description

Published: 13 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 3

Usage

# #require "uritemplate";;

# template_uri ~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 (1)

  1. ounit with-test

Used by

None

Conflicts

None