Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encode/Decode URl In C++

Tags:

c++

http

How can i encode a URL in client side and Decode the same in Server side.Is there any Built in apis are available for this purpose.Please anyone suggest a solution.Also i want to know how can i do percentage encoding in C++?

like image 515
Rono Avatar asked Dec 12 '22 12:12

Rono


1 Answers

I've found this implementation from dlib quite useful. You don't even need to grab the whole library, just these 4 functions (unhex, hex, encode, decode). And it has a boost license.

like image 104
strangeqargo Avatar answered Dec 20 '22 14:12

strangeqargo