Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cHttpCommon.h File Reference
#include "../GrayLibBase.h"
#include "GrayCore/include/cString.h"
#include "cHttpReturns.tbl"
#include "cHttpVerbs.tbl"

Go to the source code of this file.

Classes

struct  GrayLib::cHttpCommon
 

Namespaces

 GrayLib
 

Macros

#define HTTP_VER_10   "HTTP/1.0"
 first line in response from server. HTTP_VERSIONA More...
 
#define HTTP_VER_11   "HTTP/1.1"
 first line in response from server. More...
 
#define RTSP_VER   "RTSP/1.0"
 Real Time Streaming Protocol (For Flash) is similar to HTTP. More...
 
#define cHttpReturnType(a, b, c)   HTTPRET_##a = b,
 
#define cHttpVerb(a, b, c)   HTTPVERB_##a,
 
#define HTTP_CR   "\r\n"
 

Enumerations

enum  GrayLib::HTTPRET_TYPE { GrayLib::HTTPRET_UNK = -1 , GrayLib::HTTPRET_QTY }
 
enum  GrayLib::HTTPVERB_TYPE { GrayLib::HTTPVERB_QTY }
 

Functions

 GrayLib::UNITTEST2_PREDEF (cHttpCommon)
 

Detailed Description

Macro Definition Documentation

◆ cHttpReturnType

#define cHttpReturnType (   a,
  b,
 
)    HTTPRET_##a = b,

◆ cHttpVerb

#define cHttpVerb (   a,
  b,
 
)    HTTPVERB_##a,

◆ HTTP_CR

#define HTTP_CR   "\r\n"

◆ HTTP_VER_10

#define HTTP_VER_10   "HTTP/1.0"

first line in response from server. HTTP_VERSIONA

◆ HTTP_VER_11

#define HTTP_VER_11   "HTTP/1.1"

first line in response from server.

◆ RTSP_VER

#define RTSP_VER   "RTSP/1.0"

Real Time Streaming Protocol (For Flash) is similar to HTTP.