namespace Inspectron.HawkEye.RTSP.Messages
{
    public class RtspRequestOptions : RtspRequest
    {

        // Constructor
        public RtspRequestOptions()
        {
            Command = "OPTIONS * RTSP/1.0";
        }

        /// <summary>
        /// Gets the assiociate OK response with the request.
        /// </summary>
        /// <returns>
        /// an Rtsp response corresponding to request.
        /// </returns>
        public override RtspResponse CreateResponse()
        {
            RtspResponse response = base.CreateResponse();
            // Add genric suported operations.
            response.Headers.Add(RtspHeaderNames.Public, "OPTIONS,DESCRIBE,ANNOUNCE,SETUP,PLAY,PAUSE,TEARDOWN,GET_PARAMETER,SET_PARAMETER,REDIRECT");

            return response;
        }

    }
}
