Click or drag to resize

HttpHeader Class

HttpHeader holds Name and Value pairs for Request and Response Header fields.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.Net.HttpHttpHeader

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class HttpHeader

The HttpHeader type exposes the following members.

Constructors
 NameDescription
Public methodHttpHeader(String) Creates an instance of the HTTP Header Class with the HTTP Header line parameter.
Public methodHttpHeader(String, String) HTTP Header constructor with Name and Value Parameters.
Top
Properties
 NameDescription
Public propertyCount Get the HTTP Header Count property.
Public propertyName Get or set the HTTP Header Name property.
Public propertyValue Get or set the HTTP Header Value property. Setting this Value property will clear all old values of this HttpHeader.
Top
Methods
 NameDescription
Public methodAdd Add a value to the HTTP Header field.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet Get a value from the HTTP Header fields at the specified index.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString HTTP Header ToString
(Overrides ObjectToString)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also