take_header_by_name


Description:

[ CCode ( cname = "gst_rtsp_message_take_header_by_name" ) ]
[ Version ( since = "1.6" ) ]
public Result take_header_by_name (string header, owned string value)

Add a header with key header and value to this.

This function takes ownership of value, but not of header.

Parameters:

this

a Message

header

a header string

value

the value of the header

Returns:

a Result.