PcapPlusPlus  21.05
HttpLayer.h File Reference
#include "TextBasedProtocol.h"
#include <string>
#include <exception>

Go to the source code of this file.

Classes

class  pcpp::HttpMessage
 
class  pcpp::HttpRequestLayer
 
class  pcpp::HttpResponseLayer
 
class  pcpp::HttpRequestFirstLine
 
class  pcpp::HttpRequestFirstLine::HttpRequestFirstLineException
 
class  pcpp::HttpResponseFirstLine
 
class  pcpp::HttpResponseFirstLine::HttpResponseFirstLineException
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Macros

#define PCPP_HTTP_HOST_FIELD   "Host"
 
#define PCPP_HTTP_CONNECTION_FIELD   "Connection"
 
#define PCPP_HTTP_USER_AGENT_FIELD   "User-Agent"
 
#define PCPP_HTTP_REFERER_FIELD   "Referer"
 
#define PCPP_HTTP_ACCEPT_FIELD   "Accept"
 
#define PCPP_HTTP_ACCEPT_ENCODING_FIELD   "Accept-Encoding"
 
#define PCPP_HTTP_ACCEPT_LANGUAGE_FIELD   "Accept-Language"
 
#define PCPP_HTTP_COOKIE_FIELD   "Cookie"
 
#define PCPP_HTTP_CONTENT_LENGTH_FIELD   "Content-Length"
 
#define PCPP_HTTP_CONTENT_ENCODING_FIELD   "Content-Encoding"
 
#define PCPP_HTTP_CONTENT_TYPE_FIELD   "Content-Type"
 
#define PCPP_HTTP_TRANSFER_ENCODING_FIELD   "Transfer-Encoding"
 
#define PCPP_HTTP_SERVER_FIELD   "Server"
 

Enumerations

enum  pcpp::HttpVersion { pcpp::ZeroDotNine, pcpp::OneDotZero, pcpp::OneDotOne, pcpp::HttpVersionUnknown }
 

Macro Definition Documentation

◆ PCPP_HTTP_ACCEPT_ENCODING_FIELD

#define PCPP_HTTP_ACCEPT_ENCODING_FIELD   "Accept-Encoding"

Accept-Encoding field

◆ PCPP_HTTP_ACCEPT_FIELD

#define PCPP_HTTP_ACCEPT_FIELD   "Accept"

Accept field

◆ PCPP_HTTP_ACCEPT_LANGUAGE_FIELD

#define PCPP_HTTP_ACCEPT_LANGUAGE_FIELD   "Accept-Language"

Accept-Language field

◆ PCPP_HTTP_CONNECTION_FIELD

#define PCPP_HTTP_CONNECTION_FIELD   "Connection"

Connection field

◆ PCPP_HTTP_CONTENT_ENCODING_FIELD

#define PCPP_HTTP_CONTENT_ENCODING_FIELD   "Content-Encoding"

Content-Encoding field

◆ PCPP_HTTP_CONTENT_LENGTH_FIELD

#define PCPP_HTTP_CONTENT_LENGTH_FIELD   "Content-Length"

Content-Length field

◆ PCPP_HTTP_CONTENT_TYPE_FIELD

#define PCPP_HTTP_CONTENT_TYPE_FIELD   "Content-Type"

Content-Type field

◆ PCPP_HTTP_COOKIE_FIELD

#define PCPP_HTTP_COOKIE_FIELD   "Cookie"

Cookie field

◆ PCPP_HTTP_HOST_FIELD

#define PCPP_HTTP_HOST_FIELD   "Host"

Host field

◆ PCPP_HTTP_REFERER_FIELD

#define PCPP_HTTP_REFERER_FIELD   "Referer"

Referer field

◆ PCPP_HTTP_SERVER_FIELD

#define PCPP_HTTP_SERVER_FIELD   "Server"

Server field

◆ PCPP_HTTP_TRANSFER_ENCODING_FIELD

#define PCPP_HTTP_TRANSFER_ENCODING_FIELD   "Transfer-Encoding"

Transfer-Encoding field

◆ PCPP_HTTP_USER_AGENT_FIELD

#define PCPP_HTTP_USER_AGENT_FIELD   "User-Agent"

User-Agent field