Click or drag to resize

Headers Class

Version 107.1.120
Request / response headers as keys / values of JSON object.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, String
    CefSharp.DevTools.NetworkHeaders

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public class Headers : Dictionary<string, string>

The Headers type exposes the following members.

Constructors
  NameDescription
Public methodHeaders
Initializes a new instance of the Headers class.
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, String.)
Public propertyCount (Inherited from DictionaryString, String.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryString, String.)
Public propertyKeys (Inherited from DictionaryString, String.)
Public propertyValues (Inherited from DictionaryString, String.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryString, String.)
Public methodAppendCommaSeparatedValues
Quotes any values containing commas, and then comma joins all of the values with any existing values.
Public methodClear (Inherited from DictionaryString, String.)
Public methodContainsKey (Inherited from DictionaryString, String.)
Public methodContainsValue (Inherited from DictionaryString, String.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCommaSeparatedValues
Get the associated values from the dictionary separated into individual values. Quoted values will not be split, and the quotes will be removed.
Public methodGetEnumerator (Inherited from DictionaryString, String.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, String.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryString, String.)
Public methodRemove (Inherited from DictionaryString, String.)
Public methodSetCommaSeparatedValues
Quotes any values containing commas, and then comma joins all of the values.
Public methodToDictionary
Returns itself
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryString, String.)
Public methodTryGetValues
Gets an array of values for the specified key. Values are comma seperated and will be split into a string[]. Quoted values will not be split, and the quotes will be removed.
Top
Remarks
See Also