removed useless files
+ MethodType renamed to http_method, and moved to utils.hpp + operator= overload for Client moved to Client.cpp
This commit is contained in:
@@ -113,4 +113,15 @@ void Client::_parse_request_body( size_t pos )
|
||||
_request.body = body;
|
||||
}
|
||||
|
||||
/*********************************************
|
||||
* OVERLOAD
|
||||
*********************************************/
|
||||
|
||||
bool operator==(const Client& lhs, const Client& rhs)
|
||||
{ return lhs.fd == rhs.fd; }
|
||||
|
||||
bool operator==(const Client& lhs, int fd)
|
||||
{ return lhs.fd == fd; }
|
||||
|
||||
bool operator==(int fd, const Client& rhs)
|
||||
{ return fd == rhs.fd; }
|
||||
|
||||
Reference in New Issue
Block a user