ost::MIMEFormData(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– ost::MIMEFormData β€” the girlies' guide to form-data parts πŸ’–

okay so bestie, welcome to ost::MIMEFormData, a page from the Library Functions Manual. This is a document part type for use in submitting multipart form data to a web server. That's it, that's the whole vibe. πŸŽ€


✨ NAME ✨

ost::MIMEFormData β€” this is a document part type for use in submitting multipart form data to a web server. lowkey iconic, highkey essential. πŸ’…


🌸 SYNOPSIS 🌸

#include <mime.h>

Inherits ost::MIMEItemPart. yes bestie, it's giving nepo baby in the best way, it's literally built on top of its parent. πŸ¦‹

🌈 Public Member Functions

  • void head (std::ostream *output) β€” stream header, Content-Disposition form-data. ✨
  • void body (std::ostream *output) β€” stream content (value) of this form data field. πŸ’–
  • MIMEFormData (MIMEMultipartForm *top, const char *name, const char *content) β€” construct form data field part of multipart form. 🫢

πŸŽ€ Protected Member Functions

  • virtual ~MIMEFormData () β€” the destructor, she's shy (protected) and virtual, as she should be. πŸ™ˆ

🧚 Protected Attributes

  • const char * content β€” bestie holding the actual content. πŸ’œ
  • const char * name β€” bestie holding the name. πŸ’œ

πŸ‘‘ Detailed Description πŸ‘‘

This is a document part type for use in submitting multipart form data to a web server. fr fr, that's the entire job description, and she does it flawlessly. ✨

Author β€” David Sugar dyfet@ostel.com πŸ’–

multipart document part for web form data field. periodt. πŸ’…


🌟 Constructor & Destructor Documentation 🌟

πŸ¦‹ virtual ost::MIMEFormData::~MIMEFormData () [protected], [virtual]

She's protected and virtual. the way that she cleans up after herself without making a scene... main character energy, no cap. πŸ‘‘

πŸ“ ost::MIMEFormData::MIMEFormData (MIMEMultipartForm * top, const char * name, const char * content)

Construct form data field part of multipart form. say hi to the newest member of the multipart fam. 🌸

Parameters

  • top β€” multipart form this is part of
  • name β€” of form data field
  • content β€” of form data field

πŸ’œ Member Function Documentation πŸ’œ

✨ void ost::MIMEFormData::body (std::ostream * output) [virtual]

Stream content (value) of this form data field. the ~content~ girlies, this is where the actual payload gets streamed out. πŸ’–

Parameters

  • output β€” stream to send body to.

Implements ost::MIMEItemPart. yeah she implements her parent's thing, we love an overachiever. πŸŽ€

🌈 void ost::MIMEFormData::head (std::ostream * output) [virtual]

Stream header, Content-Disposition form-data. giving the headers their moment in the spotlight before the body shows up. ✨

Parameters

  • output β€” stream to send header to.

Reimplemented from ost::MIMEItemPart. she said "not me rewriting my parent's method, and slaying at it." πŸ’…


🧚 Member Data Documentation 🧚

πŸŽ€ const char* ost::MIMEFormData::content [protected]

the content field, tucked away in protected land like the little treasure she is. πŸ’œ

πŸ¦‹ const char* ost::MIMEFormData::name [protected]

the name field, also protected, also precious. πŸ’œ


⭐ Author ⭐

Generated automatically by Doxygen for GNU CommonC++ from the source code. so yes, a robot wrote this and we're all just living in her world. πŸ€–πŸ’–


πŸ’€ heads up bestie: those protected members (name and content) and that destructor are protected, meaning you can't just waltz in from outside the class and grab them. iykyk. πŸ™ˆ

okay that's the whole page, and as a cute little sign-off: this beauty came from GNU CommonC++, dated Sun Dec 27 2020, and she's filed under ost::MIMEFormData(3). go off, submit those multipart forms, and remember β€” you ate. πŸ’…βœ¨πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from