Goby3  3.1.5a
2024.05.23
httplib::detail::compressor Class Referenceabstract

#include <goby/util/thirdparty/cpp-httplib/httplib.h>

Inheritance diagram for httplib::detail::compressor:
httplib::detail::nocompressor

Public Types

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

Public Member Functions

virtual ~compressor ()=default
 
virtual bool compress (const char *data, size_t data_length, bool last, Callback callback)=0
 

Detailed Description

Definition at line 1997 of file httplib.h.

Member Typedef Documentation

◆ Callback

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

Definition at line 2002 of file httplib.h.

Constructor & Destructor Documentation

◆ ~compressor()

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

Member Function Documentation

◆ compress()

virtual bool httplib::detail::compressor::compress ( const char data,
size_t  data_length,
bool  last,
Callback  callback 
)
pure virtual

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