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; }
private HttpMethod(string name, SupportedRequestUriForms supportedRequestUriForms, bool idempotent) : this(name, supportedRequestUriForms, false, idempotent) { }
private HttpMethod(string name, SupportedRequestUriForms supportedRequestUriForms) : this(name, supportedRequestUriForms, true, true) { }