class EE::Network::Http::HttpConnection

class HttpConnection {
public:
    // construction

    HttpConnection();
    HttpConnection(TcpSocket* socket);
    ~HttpConnection();

    // methods

    void setSocket(TcpSocket* socket);
    TcpSocket* getSocket() const;
    void disconnect();
    const bool& isConnected() const;
    void setConnected(const bool& connected);
    const bool& isTunneled() const;
    void setTunneled(const bool& tunneled);
    const bool& isSSL() const;
    void setSSL(const bool& ssl);
    const bool& isKeepAlive() const;
    void setKeepAlive(const bool& isKeepAlive);
};