package gapi-ocaml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=3a9e7ba4446b90f842c10dc2e49211c394c9f012715da01bb0b80baccabb41bb
    
    
  md5=27919a0188772392e9b74bfd95fbaaa1
    
    
  doc/gapi-ocaml.netstring-local/Netmime/class-wrap_mime_header_ro/index.html
Class Netmime.wrap_mime_header_roSource
Wraps the inner header but disallows modifications. In this case, Immutable is raised.
inherit mime_header_roSupports all these read access method, too
These methods modify the fields of the header. If the header is * read-only, the exception Immutable will be raised. * * set_fields replaces the current fields with a new list of * (name,value) pairs. update_field name value replaces all fields * of the passed name with the single setting (name,value), or * adds this setting to the list. update_multiple_field name values * replaces all fields of the passed name with the list of values, * or adds this list. Finally, delete_field name deletes all * fields of the passed name. Nothing happens if there is no such * field. * * Both update_field and update_multiple_field first replace * existing values by the new ones without changing the order * of the fields in the header. Additional values are inserted * after the last existing value, or at the end of the header.