get_content_type


Description:

public unowned string get_content_type ()

Gets the content type of the file being downloaded.

If the Content-Type header has not yet been received, null will be returned.

Parameters:

this

a DownloadStream

Returns:

the content type of the file being downloaded, or null




2022 vala-language.org