Scroll to navigation

ost::MIMEFormData(3) Library Functions Manual ost::MIMEFormData(3)

NAME

ost::MIMEFormData - This is a document part type for use in submitting multipart form data to a web server.

SYNOPSIS

#include <mime.h>

Inherits ost::MIMEItemPart.

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 ()

Protected Attributes


const char * content
const char * name

Detailed Description

This is a document part type for use in submitting multipart form data to a web server.

Author

David Sugar dyfet@ostel.com

multipart document part for web form data field.

Constructor & Destructor Documentation

virtual ost::MIMEFormData::~MIMEFormData () [protected], [virtual]

ost::MIMEFormData::MIMEFormData (MIMEMultipartForm * top, const char * name, const char * content)

Construct form data field part of multipart form.

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.

Parameters

output stream to send body to.

Implements ost::MIMEItemPart.

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

Stream header, Content-Disposition form-data.

Parameters

output stream to send header to.

Reimplemented from ost::MIMEItemPart.

Member Data Documentation

const char* ost::MIMEFormData::content [protected]

const char* ost::MIMEFormData::name [protected]

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sat Dec 28 2019 GNU CommonC++