Http.hpp File Reference
#include <enet/Tcp.hpp>
#include <vector>
#include <map>
#include <thread>
#include <ethread/tools.hpp>

Go to the source code of this file.

Classes

class  enet::HttpHeader
 
class  enet::HttpAnswer
 
class  enet::HttpRequest
 
class  enet::Http
 
class  enet::HttpClient
 
class  enet::HttpServer
 

Namespaces

 enet
 

Enumerations

enum  enet::HTTPAnswerCode {
  c000_unknow = 0, enet::HTTPAnswerCode::c100_continue = 100, enet::HTTPAnswerCode::c101_switchingProtocols, enet::HTTPAnswerCode::c103_checkpoint,
  enet::HTTPAnswerCode::c200_ok = 200, enet::HTTPAnswerCode::c201_created, enet::HTTPAnswerCode::c202_accepted, enet::HTTPAnswerCode::c203_nonAuthoritativeInformation,
  enet::HTTPAnswerCode::c204_noContent, enet::HTTPAnswerCode::c205_resetContent, enet::HTTPAnswerCode::c206_partialContent, enet::HTTPAnswerCode::c300_multipleChoices = 300,
  enet::HTTPAnswerCode::c301_movedPermanently, enet::HTTPAnswerCode::c302_found, enet::HTTPAnswerCode::c303_seeOther, enet::HTTPAnswerCode::c304_notModified,
  enet::HTTPAnswerCode::c306_switchProxy, enet::HTTPAnswerCode::c307_temporaryRedirect, enet::HTTPAnswerCode::c308_resumeIncomplete, enet::HTTPAnswerCode::c400_badRequest = 400,
  enet::HTTPAnswerCode::c401_unauthorized, enet::HTTPAnswerCode::c402_paymentRequired, enet::HTTPAnswerCode::c403_forbidden, enet::HTTPAnswerCode::c404_notFound,
  enet::HTTPAnswerCode::c405_methodNotAllowed, enet::HTTPAnswerCode::c406_notAcceptable, enet::HTTPAnswerCode::c407_proxyAuthenticationRequired, enet::HTTPAnswerCode::c408_requestTimeout,
  enet::HTTPAnswerCode::c409_conflict, enet::HTTPAnswerCode::c410_gone, enet::HTTPAnswerCode::c411_lengthRequired, enet::HTTPAnswerCode::c412_preconditionFailed,
  enet::HTTPAnswerCode::c413_requestEntityTooLarge, enet::HTTPAnswerCode::c414_requestURITooLong, enet::HTTPAnswerCode::c415_unsupportedMediaType, enet::HTTPAnswerCode::c416_requestedRangeNotSatisfiable,
  enet::HTTPAnswerCode::c417_expectationFailed, enet::HTTPAnswerCode::c500_internalServerError = 500, enet::HTTPAnswerCode::c501_notImplemented, enet::HTTPAnswerCode::c502_badGateway,
  enet::HTTPAnswerCode::c503_serviceUnavailable, enet::HTTPAnswerCode::c504_gatewayTimeout, enet::HTTPAnswerCode::c505_httpVersionNotSupported, enet::HTTPAnswerCode::c511_networkAuthenticationRequired
}
 
enum  HTTPProtocol {
  http_0_1, http_0_2, http_0_3, http_0_4,
  http_0_5, http_0_6, http_0_7, http_0_8,
  http_0_9, http_0_10, http_1_0, http_1_1,
  http_1_2, http_1_3, http_1_4, http_1_5,
  http_1_6, http_1_7, http_1_8, http_1_9,
  http_1_10, http_2_0, http_2_1, http_2_2,
  http_2_3, http_2_4, http_2_5, http_2_6,
  http_2_7, http_2_8, http_2_9, http_2_10,
  http_3_0, http_3_1, http_3_2, http_3_3,
  http_3_4, http_3_5, http_3_6, http_3_7,
  http_3_8, http_3_9, http_3_10
}
 
enum  HTTPReqType {
  HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT,
  HTTP_DELETE
}
 

Detailed Description

Author
Edouard DUPIN
Note
License: APACHE v2.0 (see license file)