In file No file:

void set_mime_binary (ostream &os, ObjectType type = unknown_type, const string &version = DVR, EncodingType enc = x_plain)

Create MIME headers for binary data.

Documentation

The reply to a DODS client is in the form of a multi-part MIME message. You can use this function to create a MIME header for a message containing binary data. This function is called from within the #DDS::send# function, so it is rarely necessary in an application program.
Parameters:
os - A Stream object to which the MIME header is written.
type - An #ObjectType# enum indicating the DODS type of the object.
enc - An #EncodingType# switch indicating whether the data is to be compressed or not.
See Also:
ObjectType
EncodingType
DDS

alphabetic index hierarchy of classes


generated by doc++