set_content_type


Description:

[ Version ( since = "2.26" ) ]
public void set_content_type (string content_type, HashTable<string,string>? @params)

Sets the "Content-Type" header in this to content_type, optionally with additional parameters specified in params.

Parameters:

this

a MessageHeaders

content_type

the MIME type

params

additional parameters, or null




2022 vala-language.org