◆ handleRequest()
std::string RequestHandler::handleRequest |
( |
std::string |
requestType, |
|
|
std::string |
client, |
|
|
std::string |
request, |
|
|
boost::shared_ptr< TcpConnection > |
connection |
|
) |
| |
|
virtual |
Handles all requests send to the database.
- Parameters
-
requestType | Type of the request, a string of exactly 4 characters. |
request | The request made by the user, a string containing all relevant data in a specific order to be able to do the request. |
- Returns
- Response towards user after processing the request successfully.
The documentation for this class was generated from the following files:
- SearchSECODatabaseAPI/General/RequestHandler.h
- SearchSECODatabaseAPI/General/RequestHandler.cpp