reformat Server/APIGrammar according to guideline
This commit is contained in:
parent
4b7e5b7445
commit
3f4c4d675b
@ -48,14 +48,14 @@ namespace http {
|
|||||||
class RequestParser;
|
class RequestParser;
|
||||||
|
|
||||||
/// Represents a single connection from a client.
|
/// Represents a single connection from a client.
|
||||||
class Connection : public boost::enable_shared_from_this<Connection>,
|
class Connection : public boost::enable_shared_from_this<Connection>
|
||||||
private boost::noncopyable {
|
{
|
||||||
public:
|
public:
|
||||||
explicit Connection(
|
explicit Connection(
|
||||||
boost::asio::io_service& io_service,
|
boost::asio::io_service& io_service,
|
||||||
RequestHandler& handler
|
RequestHandler& handler
|
||||||
);
|
);
|
||||||
|
Connection(const Connection &) = delete;
|
||||||
~Connection();
|
~Connection();
|
||||||
|
|
||||||
boost::asio::ip::tcp::socket& socket();
|
boost::asio::ip::tcp::socket& socket();
|
||||||
|
Loading…
Reference in New Issue
Block a user