get_header


Description:

public virtual unowned string? get_header (string name)

Gets the value of the named header in the medium, or null if it is unset.

The caller should not modify or free the data.

If the header occurs more than once, only retrieve the first instance of the header. For multi-occuring headers, use dup_headers or get_headers.

Parameters:

this

a Medium

name

the name of the header

Returns:

the value of the named header, or null