On Fri, Dec 10, 2010 at 9:08 PM, Dean Michael Berris <[email protected]
> wrote:

> Hi Guys,
>
> Today I just finished changing the HTTP Client and HTTP Server
> constructor interfaces to use Boost.Parameter. I added tests for the
> server constructor interfaces. This basically allows users to write:
>
>  using namespace boost::network::http;
>  server instance(_address="0.0.0.0", _port="8000",
>    _io_service=my_io_service, _handler=my_handler,
>    _reuse_address=true);
>
>
 I saw old example version 0.8. It's not clear when using code above.Could
you show document or example for me?

The supported parameters will be documented accordingly.
>
> Note though that the server constructor interface change is backward
> compatible, meaning all previous code that compiled with the server
> constructor will still build.
>
> The client constructor interface though is a breaking change.
> Basically, what used to be:
>
>  http::client instance(http::client::cache_resolved);
>
> Is now:
>
>  http::client instance(http::_cache_resolved=true);
>
> This will break code that was written in the old style of the client
> interface.
>
> Because of this, I'm going to be releasing 0.8.1 which will include a
> number of enhancements to the 0.8 implementation, while 0.9 will be a
> different "branch". 0.9's client implementation is not source
> compatible with code which will be using 0.8 HTTP client interface.
> I'm willing to support the 0.8 line for one year, of course subject to
> my availability. Commercial support for the 0.8 line is also still
> available, contact me for details of that. ;)
>
> The 0.9 release will also introduce external linkage dependencies,
> mainly to the externalized parsers for the HTTP client and the
> servers.
>
> Thanks everyone and I hope this helps.
>
> --
> Dean Michael Berris
> deanberris.com
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Cpp-netlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
>



-- 
:--------------------------------------------------------
weblog  :http://www.chatsiri.com,profile:
http://www.linkedin.com/in/chatsiri
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to