## Class connection

zeep::http::connection

## Synopsis

    // In header: </build/libzeep-8SPbhu/libzeep-3.0.5/zeep/http/connection.hpp>

    class connection :
      public std::enable_shared_from_this< connection >, public noncopyable
    {
    public:
      // construct/copy/destruct
      connection(boost::asio::io_service &, request_handler &);

      // public member functions
      void start();
      void handle_read(const boost::system::error_code &, size_t);
      void handle_write(const boost::system::error_code &);
      boost::asio::ip::tcp::socket & get_socket();
    };

## Description

The HTTP server implementation of libzeep is inspired by the example code as provided by boost::asio. These objects are not to be used directly.

### `connection` public construct/copy/destruct

1.     connection(boost::asio::io_service & service, request_handler & handler);

### `connection` public member functions

1.     void start();

2.     void handle_read(const boost::system::error_code & ec,
                        size_t bytes_transferred);

3.     void handle_write(const boost::system::error_code & ec);

4.     boost::asio::ip::tcp::socket & get_socket();