Boost logo

Boost Users :

Subject: Re: [Boost-users] Question on writing HTTP parser
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2014-02-25 14:53:08


On Feb 24, 2014, at 8:30 PM, gomti <lionheart8470_at_[hidden]> wrote:

> Hello. I'm newbie for boost library.
>
> I'm trying to write a HTTP Parser, which handles the HTTP message coming from the proxy server.
>
> I don't know much about the boost, so I'm really confused on what to use to write my functionality.
>
> When I search on the internet, some say that I need to used Boost.Asio and Some say Boost.Spirit.
>
> When I looked over the document for each, I found that Boost.Asio is like network library for C++ and Boost.Spirit is for writing compilers. As I mention above, I want to write a http parser. I think the relevant one is the following: https://github.com/joyent/http-parser
>
> Please give me some advice.
> Since this is my first posting, I don't know the culture in this mailing list so if I'm doing some mistake in here, please let me know.

You should look at cpp-netlib (http://cpp-netlib.org/).
It contains a MIME parser written using spirit.
(Disclaimer: I wrote the parser)

— Marshall



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net