Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpMultipartWriter Struct Reference

Classes

struct  Part
 

Public Member Functions

void reset ()
 
Result setBoundary (StringSpan boundaryValue)
 
Result addField (StringSpan fieldName, StringSpan value)
 
Result addFile (StringSpan fieldName, StringSpan fileName, Span< const char > body, StringSpan contentType="application/octet-stream")
 
StringSpan getBoundary () const
 
size_t getNumParts () const
 
const PartgetPart (size_t idx) const
 
size_t getContentLength () const
 

Static Public Attributes

static constexpr size_t MaxParts = 8
 

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