returnzero23 / uritemplate-cpp

C++ implementation of URI Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URI Template C++

This is a C++ implementation of RFC6570 - URI Template, and can expand templates up to and including Level 4 in that specification.

Usage

#include "uritemplate.hpp"

using UriTemplate = uritemplatecpp::UriTemplate;

int main(){
	UriTemplate uri("{hello}");
	uri.set("hello","world");
	assert(uri.build() == "world");
	return 0;
}

License

Copyright (c) 2018 ReturnZer0

MIT License, see http://mit-license.org/

About

C++ implementation of URI Template

License:MIT License


Languages

Language:C++ 97.7%Language:Makefile 1.5%Language:Shell 0.8%