Project Alice
Loading...
Searching...
No Matches
httplib::detail::decompressor Class Referenceabstract

#include <httplib.h>

Public Types

typedef std::function< bool(const char *data, size_t data_len)> Callback
 

Public Member Functions

virtual ~decompressor ()=default
 
virtual bool is_valid () const =0
 
virtual bool decompress (const char *data, size_t data_length, Callback callback)=0
 

Detailed Description

Definition at line 2393 of file httplib.h.

Member Typedef Documentation

◆ Callback

typedef std::function<bool(const char *data, size_t data_len)> httplib::detail::decompressor::Callback

Definition at line 2399 of file httplib.h.

Constructor & Destructor Documentation

◆ ~decompressor()

virtual httplib::detail::decompressor::~decompressor ( )
virtualdefault

Member Function Documentation

◆ decompress()

virtual bool httplib::detail::decompressor::decompress ( const char *  data,
size_t  data_length,
Callback  callback 
)
pure virtual
Here is the caller graph for this function:

◆ is_valid()

virtual bool httplib::detail::decompressor::is_valid ( ) const
pure virtual
Here is the caller graph for this function:

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