33 throw ConnectionClosed(
"Connection Closed",
HERE);
46 int &i, std::string &str)
61 _buffer.size() - i - delim.second);
Network namespace represent all networks connection.
bool _update_buffer(std::pair< int, int > &delim, int &i, std::string &str)
look delimiter and remove delimiter at begining of buffer if needed
std::pair< int, int > _find_delim(const std::string &str, int start) const
bool _check_answer(int res, std::string &str)
return the content of the buffer is there is