ViaHeaderValue Class

Definition

Represents the value of a Via header.

public ref class ViaHeaderValue
public ref class ViaHeaderValue : ICloneable
public class ViaHeaderValue
public class ViaHeaderValue : ICloneable
type ViaHeaderValue = class
type ViaHeaderValue = class
    interface ICloneable
Public Class ViaHeaderValue
Public Class ViaHeaderValue
Implements ICloneable
Inheritance
ViaHeaderValue
Implements

Constructors

ViaHeaderValue(String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String, String)

Initializes a new instance of the ViaHeaderValue class.

Properties

Comment

Gets the comment field used to identify the software of the recipient proxy or gateway.

ProtocolName

Gets the protocol name of the received protocol.

ProtocolVersion

Gets the protocol version of the received protocol.

ReceivedBy

Gets the host and port that the request or response was received by.

Methods

Equals(Object)

Determines whether the specified Object is equal to the current ViaHeaderValue object.

GetHashCode()

Serves as a hash function for an ViaHeaderValue object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String)

Converts a string to an ViaHeaderValue instance.

ToString()

Returns a string that represents the current ViaHeaderValue object.

TryParse(String, ViaHeaderValue)

Determines whether a string is valid ViaHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone()

Creates a new object that is a copy of the current ViaHeaderValue instance.

Applies to