Files
cefsharp/CefSharp/Internals/HeaderNameValueCollection.cs
T
amaitland a8d5b85ed3 Request/Response Headers - Fix incorrect handling of readonly
- Rename ReadOnlyNameValueCollection to HeaderNameValueCollection
- Set ReadOnly after the collection has been populated.

Resolves #2946
2019-10-29 19:36:01 +10:00

21 lines
583 B
C#

// Copyright © 2019 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp.Internals
{
/// <summary>
/// A <see cref="NameValueCollection"/> implementation
/// that can optionally be set to ReadOnly (used to represent the CefHeaderMap)
/// </summary>
public class HeaderNameValueCollection : NameValueCollection
{
public void SetReadOnly()
{
IsReadOnly = true;
}
}
}