Example #1
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="method">SIP request method.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>method</b> is null reference.</exception>
        public SIP_Request(string method)
        {
            if (method == null)
            {
                throw new ArgumentNullException("method");
            }

            m_pRequestLine = new SIP_RequestLine(method, new AbsoluteUri());
        }
Example #2
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="method">SIP request method.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>method</b> is null reference.</exception>
        public SIP_Request(string method)
        {
            if (method == null)
            {
                throw new ArgumentNullException("method");
            }

            m_pRequestLine = new SIP_RequestLine(method, new AbsoluteUri());
        }