get_header


Description:

[ CCode ( cname = "gst_rtsp_message_get_header" ) ]
public Result get_header (HeaderField field, out unowned string? value, int indx)

Get the indx header value with key field from this.

The result in value stays valid as long as it remains present in this.

Parameters:

this

a Message

field

a HeaderField

value

pointer to hold the result

indx

the index of the header

Returns:

OK when field was found, ENOTIMPL if the key was not found.