Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.02 KB

File metadata and controls

25 lines (16 loc) · 1.02 KB

uri

URI library for Pony. Implements RFC 3986 parsing, reference resolution, and normalization; RFC 3987 IRI/URI conversion and IRI-aware encoding; and RFC 6570 URI template expansion at all four levels.

Status

Beta quality software that will change frequently. Expect breaking changes. That said, you should feel comfortable using it in your projects.

Installation

  • Install corral
  • corral add github.com/ponylang/uri.git --version 0.4.0
  • corral fetch to fetch your dependencies
  • use "uri" to include this package
    • use "uri/template" for URI template expansion
  • Requires ponyc 0.70.0 or later.
  • corral run -- ponyc to compile your application

Usage

See examples for URI parsing and template expansion demonstrations.

API Documentation

https://ponylang.github.io/uri