Goby3  3.1.5a
2024.05.23
httplib::DataSink Class Reference

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

Public Member Functions

 DataSink ()
 
 DataSink (const DataSink &)=delete
 
DataSinkoperator= (const DataSink &)=delete
 
 DataSink (DataSink &&)=delete
 
DataSinkoperator= (DataSink &&)=delete
 

Public Attributes

std::function< bool(const char *data, size_t data_len)> write
 
std::function< void()> done
 
std::function< void(const Headers &trailer)> done_with_trailer
 
std::ostream os
 

Detailed Description

Definition at line 389 of file httplib.h.

Constructor & Destructor Documentation

◆ DataSink() [1/3]

httplib::DataSink::DataSink ( )
inline

Definition at line 392 of file httplib.h.

◆ DataSink() [2/3]

httplib::DataSink::DataSink ( const DataSink )
delete

◆ DataSink() [3/3]

httplib::DataSink::DataSink ( DataSink &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

DataSink& httplib::DataSink::operator= ( const DataSink )
delete

◆ operator=() [2/2]

DataSink& httplib::DataSink::operator= ( DataSink &&  )
delete

Member Data Documentation

◆ done

std::function<void()> httplib::DataSink::done

Definition at line 400 of file httplib.h.

◆ done_with_trailer

std::function<void(const Headers& trailer)> httplib::DataSink::done_with_trailer

Definition at line 401 of file httplib.h.

◆ os

std::ostream httplib::DataSink::os

Definition at line 402 of file httplib.h.

◆ write

std::function<bool(const char* data, size_t data_len)> httplib::DataSink::write

Definition at line 399 of file httplib.h.


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