OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
UrlEncoding.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "utils_export.h"
5
6namespace Utils
7{
8 // inspired by: https://github.com/davisking/dlib/blob/f7d99ae0dc97c00c1690863881709b7a8b89bb40/dlib/server/server_http.cpp
9
11 {
12 public:
13 static std::string encode(const std::string& unencoded);
14 static std::string decode(const std::string& encoded);
15
16 // static-only class
17 UrlEncoding() = delete;
18
19 };
20}
#define UTILS_EXPORT