Exemple #1
0
 private unsafe HttpMethod(string name, SupportedRequestUriForms supportedRequestUriForms, bool safe, bool idempotent)
 {
     _name = name;
     _supportedRequestUriForms = supportedRequestUriForms;
     _identifier.Start = WellKnownStrings.Alloc(name.ToUpperInvariant() + " ");
     _identifier.Count = name.Length + 1;
     _isSafe = safe;
     _isIdempotent = idempotent;
 }
Exemple #2
0
 private HttpMethod(string name, SupportedRequestUriForms supportedRequestUriForms, bool idempotent)
     : this(name, supportedRequestUriForms, false, idempotent)
 {
 }
Exemple #3
0
 private HttpMethod(string name, SupportedRequestUriForms supportedRequestUriForms)
     : this(name, supportedRequestUriForms, true, true)
 {
 }