mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
b35d5151fe
- Throw exception if attempting to set property on readonly request/response - return ReadOnlyNameValueCollection if Headers are readonly
17 lines
416 B
C#
17 lines
416 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
|
|
{
|
|
public class ReadOnlyNameValueCollection : NameValueCollection
|
|
{
|
|
public ReadOnlyNameValueCollection()
|
|
{
|
|
IsReadOnly = true;
|
|
}
|
|
}
|
|
}
|