Bayonne2 / Common C++ 2 Framework
Public Member Functions | Protected Member Functions | Protected Attributes
MIMEMultipartForm Class Reference

The Multipart form is a MIME multipart document specific for the construction and delivery of form data to a web server through a post method. More...

#include <mime.h>

Inheritance diagram for MIMEMultipartForm:
Inheritance graph
[legend]
Collaboration diagram for MIMEMultipartForm:
Collaboration graph
[legend]

Public Member Functions

  Construct a form result. More...
 
virtual void  head (std::ostream *output)
  Stream the headers of the multi-part document. More...
 
virtual void  body (std::ostream *output)
  Stream the "body" of the multi-part document. More...
 
char **  getHeaders (void)
  Get a string array of the headers to use. More...
 

Protected Member Functions

virtual  ~MIMEMultipartForm ()
 

Protected Attributes

char  boundry [8]
 
char  mtype [80]
 
char *  header [16]
 
 
 

Detailed Description

The Multipart form is a MIME multipart document specific for the construction and delivery of form data to a web server through a post method.

Author
David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m deliver form results as multipart document.

Definition at line 122 of file mime.h.

Constructor & Destructor Documentation

virtual MIMEMultipartForm::~MIMEMultipartForm ( )
protectedvirtual
MIMEMultipartForm::MIMEMultipartForm ( )

Construct a form result.

This is a MIMEMultipart of type multipart/form-data.

Member Function Documentation

virtual void MIMEMultipart::body ( std::ostream *  output )
virtualinherited

Stream the "body" of the multi-part document.

This involves streaming the headers and body of each document part.

Parameters
output to stream document body into.
char** MIMEMultipart::getHeaders ( void  )
inlineinherited

Get a string array of the headers to use.

This is used to assist URLStream::post.

Returns
array of headers.

Definition at line 110 of file mime.h.

virtual void MIMEMultipart::head ( std::ostream *  output )
virtualinherited

Stream the headers of the multi-part document.

The headers of individual entities are streamed as part of the body.

Parameters
output to stream document header into.

Field Documentation

char MIMEMultipart::boundry[8]
protectedinherited

Definition at line 73 of file mime.h.

MIMEItemPart* MIMEMultipart::first
protectedinherited

Definition at line 76 of file mime.h.

char* MIMEMultipart::header[16]
protectedinherited

Definition at line 75 of file mime.h.

MIMEItemPart * MIMEMultipart::last
protectedinherited

Definition at line 76 of file mime.h.

char MIMEMultipart::mtype[80]
protectedinherited

Definition at line 74 of file mime.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /