/// <summary> /// Parses the specified reader. /// </summary> /// <param name="reader">The reader.</param> /// <param name="source">The source.</param> /// <param name="destination">The destination.</param> /// <returns></returns> public static SsdpMessage Parse(TextReader reader, IPEndPoint source, IPEndPoint destination) { var message = new SsdpMessage(true, source, destination); message.FromStream(reader); return(message); }
/// <summary> /// Parses the specified reader. /// </summary> /// <param name="reader">The reader.</param> /// <param name="endPoint">The end point.</param> /// <returns></returns> public static SsdpMessage Parse(TextReader reader, IPEndPoint endPoint) { var message = new SsdpMessage(endPoint); message.FromStream(reader); return(message); }
/// <summary> /// Parses the specified reader. /// </summary> /// <param name="reader">The reader.</param> /// <param name="endPoint">The end point.</param> /// <returns></returns> public static SsdpMessage Parse(TextReader reader, IPEndPoint endPoint) { var message = new SsdpMessage(endPoint); message.FromStream(reader); return message; }
/// <summary> /// Parses the specified reader. /// </summary> /// <param name="reader">The reader.</param> /// <param name="source">The source.</param> /// <param name="destination">The destination.</param> /// <returns></returns> public static SsdpMessage Parse(TextReader reader, IPEndPoint source, IPEndPoint destination) { var message = new SsdpMessage(true, source, destination); message.FromStream(reader); return message; }