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