public RequestInfo(MethodeType methode, string content, string host, bool keepAlive, string httpVersion, EncodingType encoding) { Methode = methode; HttpVersion = httpVersion; Content = content; Host = host; KeepAlive = keepAlive; Encoding = encoding; StartRange = -1; EndRange = -1; }
/// <summary> /// Converts MethodeType to string /// </summary> /// <param name="type">Methode type</param> /// <returns></returns> public static string GetMethodeType(MethodeType type) { return(nameof(type)); }