Table of Contents

Class LockableHeader

Namespace
VAST.HTTP
Assembly
VAST.Common.dll

Represents an HTTP header with a name and value that can be locked to prevent modification.

public class LockableHeader
Inheritance
LockableHeader
Inherited Members

Constructors

LockableHeader(string, string)

Initializes a new instance of the LockableHeader class with the specified name and value.

public LockableHeader(string name, string value)

Parameters

name string

The name of the HTTP header.

value string

The value of the HTTP header.

Properties

IsLocked

Gets or sets a value indicating whether the header is locked and cannot be modified.

public bool IsLocked { get; }

Property Value

bool

Name

Gets or sets the name of the HTTP header.

public string Name { get; set; }

Property Value

string

Exceptions

InvalidOperationException

Thrown when attempting to set the value while the header is locked.

Value

Gets or sets the value of the HTTP header.

public string Value { get; set; }

Property Value

string

Exceptions

InvalidOperationException

Thrown when attempting to set the value while the header is locked.