Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 /// <summary>
 /// Converts MethodeType to string
 /// </summary>
 /// <param name="type">Methode type</param>
 /// <returns></returns>
 public static string GetMethodeType(MethodeType type)
 {
     return(nameof(type));
 }