API New Year  1.0
API for the project ZIA, EPITECH 2017.
ApiNewYear::IHttpClient Class Referenceabstract

Base class representing the minimum information needed for each connecting client. More...

#include <IHttpClient.h>

Collaboration diagram for ApiNewYear::IHttpClient:
Collaboration graph

Public Member Functions

virtual IHttpRequestgetRequest (void)=0
 Getter for client request. More...
 
virtual IHttpResponsegetResponse (void)=0
 Getter for client response. More...
 
virtual ISocketgetSocket (void)=0
 Getter for client socket. More...
 

Detailed Description

Base class representing the minimum information needed for each connecting client.

Establishes the base architecture for a connecting client, along with the minimum information needed.

Member Function Documentation

virtual IHttpRequest& ApiNewYear::IHttpClient::getRequest ( void  )
pure virtual

Getter for client request.

IHttpClient get IHttpRequest representing the request of the client.

Returns
A reference to an object of type IHttpRequest.
virtual IHttpResponse& ApiNewYear::IHttpClient::getResponse ( void  )
pure virtual

Getter for client response.

IHttpClient get IHttpResposne representing the response for the client.

Returns
A reference to an object of type IHttpResponse.
virtual ISocket& ApiNewYear::IHttpClient::getSocket ( void  )
pure virtual

Getter for client socket.

IHttpClient get ISocket containing client connection information and socket.

Returns
A reference to an object of type ISocket.

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