IRC SERVER
The goal of this project is to make you write your own IRC server.
Message Class Reference

#include <Message.hpp>

Public Member Functions

 Message (std::string &buffer)
 Construct a new Message:: Message object. More...
 
std::string getCmd (void) const
 
std::map< size_t, std::string > getParams (void) const
 

Public Attributes

std::string _buffer
 

Constructor & Destructor Documentation

◆ Message()

Message::Message ( std::string &  buffer)

Construct a new Message:: Message object.

Here we will only construct "<command> <parameters> <crlf>" properties from the message. We will ignore tags and source from the message.

These message parts, and parameters themselves, are separated by one or more ASCII SPACE characters ‘(’ ', 0x20)`.

Parameters
bufferThe string buffer

Member Function Documentation

◆ getCmd()

std::string Message::getCmd ( void  ) const
Here is the caller graph for this function:

◆ getParams()

std::map< size_t, std::string > Message::getParams ( void  ) const
Here is the caller graph for this function:

Member Data Documentation

◆ _buffer

std::string Message::_buffer

The documentation for this class was generated from the following files: