#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|  | 
| namespace | wpi | 
|  | Foonathan namespace. 
 | 
|  | 
|  | 
| enum | wpi::http_status | 
|  | 
| enum | wpi::http_method | 
|  | 
| enum | wpi::http_parser_type { wpi::HTTP_REQUEST
, wpi::HTTP_RESPONSE
, wpi::HTTP_BOTH
 } | 
|  | 
| enum | wpi::flags { wpi::F_CHUNKED = 1 << 0
, wpi::F_CONNECTION_KEEP_ALIVE = 1 << 1
, wpi::F_CONNECTION_CLOSE = 1 << 2
, wpi::F_CONNECTION_UPGRADE = 1 << 3
,
 wpi::F_TRAILING = 1 << 4
, wpi::F_UPGRADE = 1 << 5
, wpi::F_SKIPBODY = 1 << 6
, wpi::F_CONTENTLENGTH = 1 << 7
 }
 | 
|  | 
| enum | wpi::http_errno | 
|  | 
| enum | wpi::http_parser_url_fields { wpi::UF_SCHEMA = 0
, wpi::UF_HOST = 1
, wpi::UF_PORT = 2
, wpi::UF_PATH = 3
,
 wpi::UF_QUERY = 4
, wpi::UF_FRAGMENT = 5
, wpi::UF_USERINFO = 6
, wpi::UF_MAX = 7
 }
 | 
|  | 
◆ HTTP_ERRNO_GEN
      
        
          | #define HTTP_ERRNO_GEN | ( |  | n, | 
        
          |  |  |  | s ) | 
      
 
 
◆ HTTP_ERRNO_MAP
      
        
          | #define HTTP_ERRNO_MAP | ( |  | XX | ) |  | 
      
 
 
◆ HTTP_MAX_HEADER_SIZE
      
        
          | #define HTTP_MAX_HEADER_SIZE   (80*1024) | 
      
 
 
◆ HTTP_METHOD_MAP
      
        
          | #define HTTP_METHOD_MAP | ( |  | XX | ) |  | 
      
 
 
◆ HTTP_PARSER_ERRNO
      
        
          | #define HTTP_PARSER_ERRNO | ( |  | p | ) |  | 
      
 
Value:
http_errno
Definition http_parser.h:269
 
 
 
◆ HTTP_PARSER_STRICT
      
        
          | #define HTTP_PARSER_STRICT   1 | 
      
 
 
◆ HTTP_PARSER_VERSION_MAJOR
      
        
          | #define HTTP_PARSER_VERSION_MAJOR   2 | 
      
 
 
◆ HTTP_PARSER_VERSION_MINOR
      
        
          | #define HTTP_PARSER_VERSION_MINOR   8 | 
      
 
 
◆ HTTP_PARSER_VERSION_PATCH
      
        
          | #define HTTP_PARSER_VERSION_PATCH   1 | 
      
 
 
◆ HTTP_STATUS_MAP
      
        
          | #define HTTP_STATUS_MAP | ( |  | XX | ) |  | 
      
 
 
◆ XX [1/2]
      
        
          | #define XX | ( |  | num, | 
        
          |  |  |  | name, | 
        
          |  |  |  | string ) | 
      
 
Value:HTTP_STATUS_##name = num,
 
 
◆ XX [2/2]
      
        
          | #define XX | ( |  | num, | 
        
          |  |  |  | name, | 
        
          |  |  |  | string ) |