// parseProtocolVersion /// <summary>Creates a protocol version.</summary> /// <remarks> /// Creates a protocol version. /// Called from /// <see cref="ParseProtocolVersion(string, LineParser)">ParseProtocolVersion(string, LineParser) /// </see> /// . /// </remarks> /// <param name="major">the major version number, for example 1 in HTTP/1.0</param> /// <param name="minor">the minor version number, for example 0 in HTTP/1.0</param> /// <returns>the protocol version</returns> protected internal virtual ProtocolVersion CreateProtocolVersion(int major, int minor ) { return(protocol.ForVersion(major, minor)); }