Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
HttpParser Class Reference

#include <HttpParser.h>

Public Types

enum  status_t { Done , Error , Incomplete }
 

Public Member Functions

 ~HttpParser ()
 
status_t addBytes (const char *bytes, unsigned len)
 
const char * getMethod () const
 
const char * getUri () const
 
const char * getQueryString () const
 
const char * getBody () const
 
const char * getValue (const char *key) const
 
unsigned getContentLength () const
 

Member Enumeration Documentation

◆ status_t

Enumerator
Done 
Error 
Incomplete 

Constructor & Destructor Documentation

◆ ~HttpParser()

HttpParser::~HttpParser ( )
default

Member Function Documentation

◆ addBytes()

HttpParser::status_t HttpParser::addBytes ( const char * bytes,
unsigned len )

◆ getBody()

const char * HttpParser::getBody ( ) const

◆ getContentLength()

unsigned HttpParser::getContentLength ( ) const

◆ getMethod()

const char * HttpParser::getMethod ( ) const

◆ getQueryString()

const char * HttpParser::getQueryString ( ) const

◆ getUri()

const char * HttpParser::getUri ( ) const

◆ getValue()

const char * HttpParser::getValue ( const char * key) const

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