[ CCode ( cname = "gst_rtsp_message_init_response" ) ]
public Result init_response (StatusCode code, string? reason, Message? request)
Initialize this with code
and reason
.
When reason
is null
, the default reason for code
will be used.
When request
is not null
, the relevant headers will be copied to the new response message.
this |
a Message |
code |
the status code |
reason |
the status reason or |
request |
the request that triggered the response or |
a Result. |