void vortex_profiles_set_mime_type gchar *  uri,
gchar *  mime_type,
gchar *  transfer_encoding
 

Allows to configure which is the default mime type to be set for those channels created under the given profile.

Default mime type and content transfer encoding used under beep is:

  • Content-Type: "application/octet-stream"
  • Content-Transfer-Encoding: binary

They are used by default if no other value is set.

The function will perform a local copy of all the values provided on this function, so you could safely unref them once the function had finished.

Parameters:
uri The profile which the given values for the mime configuration will be applied.
mime_type Content-Type configuration value. You can use NULL values for parameter. In the case the value is not, previous value is conserved.
transfer_encoding Content-Transfer-Encoding configuration value. You can use NULL values for parameter. In the case the value is not, previous value is conserved.