/liburlencoding

A C library for doing URL percentage encoding.

Primary LanguageRustMIT LicenseMIT

liburlencoding

A C library for doing URL percentage encoding.

Installation & Setup

1. Clone the repository

git clone https://github.com/thechampagne/liburlencoding.git

2. Navigate to the root

cd liburlencoding

3. Build the project

cargo build

Example

#include <stdio.h>
#include <urlencoding.h>

int main()
{
     char* res = url_encoding_encode("This string will be URL encoded.");
     printf("%s\n", res);
     url_encoding_free(res);
     return 0;
}

References

License

This repo is released under the MIT.