项目作者: ReturnZero23

项目描述 :
C++ implementation of URI Template
高级语言: C++
项目地址: git://github.com/ReturnZero23/uritemplate-cpp.git
创建时间: 2018-08-15T15:26:36Z
项目社区:https://github.com/ReturnZero23/uritemplate-cpp

开源协议:MIT License

下载


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

  1. #include "uritemplate.hpp"
  2. using UriTemplate = uritemplatecpp::UriTemplate;
  3. int main(){
  4. UriTemplate uri("{hello}");
  5. uri.set("hello","world");
  6. assert(uri.build() == "world");
  7. return 0;
  8. }

License

Copyright (c) 2018 ReturnZer0

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