hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
hobbes::PartialHTTPRequestState Class Reference
Collaboration diagram for hobbes::PartialHTTPRequestState:
Collaboration graph

Public Member Functions

 PartialHTTPRequestState (int s, HTTPRequestHandler f, void *ud)
 
bool transition (const char *b, const char *e)
 

Private Types

enum  State {
  Method = 0, Document, FindHeaderBegin, HeaderNameOrEnd,
  HeaderName, HeaderValue, AccData
}
 

Private Member Functions

bool transition (char c)
 

Private Attributes

int s
 
HTTPRequestHandler f
 
void * ud
 
State state
 
std::ostringstream r0
 
std::ostringstream r1
 
size_t len
 
HTTPRequest req
 

Member Enumeration Documentation

◆ State

Enumerator
Method 
Document 
FindHeaderBegin 
HeaderNameOrEnd 
HeaderName 
HeaderValue 
AccData 

Constructor & Destructor Documentation

◆ PartialHTTPRequestState()

hobbes::PartialHTTPRequestState::PartialHTTPRequestState ( int  s,
HTTPRequestHandler  f,
void *  ud 
)
inline

Member Function Documentation

◆ transition() [1/2]

bool hobbes::PartialHTTPRequestState::transition ( const char *  b,
const char *  e 
)
inline

◆ transition() [2/2]

bool hobbes::PartialHTTPRequestState::transition ( char  c)
inlineprivate

Member Data Documentation

◆ f

HTTPRequestHandler hobbes::PartialHTTPRequestState::f
private

◆ len

size_t hobbes::PartialHTTPRequestState::len
private

◆ r0

std::ostringstream hobbes::PartialHTTPRequestState::r0
private

◆ r1

std::ostringstream hobbes::PartialHTTPRequestState::r1
private

◆ req

HTTPRequest hobbes::PartialHTTPRequestState::req
private

◆ s

int hobbes::PartialHTTPRequestState::s
private

◆ state

State hobbes::PartialHTTPRequestState::state
private

◆ ud

void* hobbes::PartialHTTPRequestState::ud
private

The documentation for this class was generated from the following file: