Netmime.wrap_mime_body_roSourceWraps the inner body but disallows modifications. In this case, Immutable is raised.
inherit mime_body_roSupports all these read access method, too
Sets the value. If the value is immutable, the exception * Immutable will be raised. * * The passed string must be in decoded form. When the body is * stored in an external file, the file is overwritten.
method open_value_wr : unit -> Netchannels.out_obj_channelOpens the value for writing. The current value is overwritten. * If the value is immutable, the exception Immutable will be raised. * * For example, to copy the file f into the value: *
* let ch = body # open_value_wr() in
* let f_ch = new Netchannels.input_file f in
* ch # output_channel f_ch;
* f_ch # close_in();
* ch # close_out();
* *