dimanche 27 décembre 2015

API to use Nginx HTTP Parser

If I am building a custom web server and really want to avoid writing code for parsing the HTTP requests can I use some other HTTP parser such as Nginx HTTP parser (any other parser is completely fine, I suggested this because of its speed) to parse the HTTP request for me?

If yes then could someone explain with an example how I can extract the parsed values from the HTTP request? I am planning to write this in C++.

Thank you!

Aucun commentaire:

Enregistrer un commentaire