Goby3  3.1.5
2024.05.14
httplib::ContentReader Class Reference

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

Public Types

using Reader = std::function< bool(ContentReceiver receiver)>
 
using MultipartReader = std::function< bool(MultipartContentHeader header, ContentReceiver receiver)>
 

Public Member Functions

 ContentReader (Reader reader, MultipartReader multipart_reader)
 
bool operator() (MultipartContentHeader header, ContentReceiver receiver) const
 
bool operator() (ContentReceiver receiver) const
 

Public Attributes

Reader reader_
 
MultipartReader multipart_reader_
 

Detailed Description

Definition at line 446 of file httplib.h.

Member Typedef Documentation

◆ MultipartReader

Definition at line 451 of file httplib.h.

◆ Reader

using httplib::ContentReader::Reader = std::function<bool(ContentReceiver receiver)>

Definition at line 449 of file httplib.h.

Constructor & Destructor Documentation

◆ ContentReader()

httplib::ContentReader::ContentReader ( Reader  reader,
MultipartReader  multipart_reader 
)
inline

Definition at line 453 of file httplib.h.

Member Function Documentation

◆ operator()() [1/2]

bool httplib::ContentReader::operator() ( ContentReceiver  receiver) const
inline

Definition at line 463 of file httplib.h.

◆ operator()() [2/2]

bool httplib::ContentReader::operator() ( MultipartContentHeader  header,
ContentReceiver  receiver 
) const
inline

Definition at line 458 of file httplib.h.

Member Data Documentation

◆ multipart_reader_

MultipartReader httplib::ContentReader::multipart_reader_

Definition at line 466 of file httplib.h.

◆ reader_

Reader httplib::ContentReader::reader_

Definition at line 465 of file httplib.h.


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