ViaHeaderValue ViaHeaderValue ViaHeaderValue ViaHeaderValue Class

Definition

Represents the value of a Via header.

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

Constructors

ViaHeaderValue(String, String) ViaHeaderValue(String, String) ViaHeaderValue(String, String) ViaHeaderValue(String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String) ViaHeaderValue(String, String, String) ViaHeaderValue(String, String, String) ViaHeaderValue(String, String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String, String) ViaHeaderValue(String, String, String, String) ViaHeaderValue(String, String, String, String) ViaHeaderValue(String, String, String, String)

Initializes a new instance of the ViaHeaderValue class.

Properties

Comment Comment Comment Comment

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

ProtocolName ProtocolName ProtocolName ProtocolName

Gets the protocol name of the received protocol.

ProtocolVersion ProtocolVersion ProtocolVersion ProtocolVersion

Gets the protocol version of the received protocol.

ReceivedBy ReceivedBy ReceivedBy ReceivedBy

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an ViaHeaderValue object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an ViaHeaderValue instance.

ToString() ToString() ToString() ToString()

Returns a string that represents the current ViaHeaderValue object.

TryParse(String, ViaHeaderValue) TryParse(String, ViaHeaderValue) TryParse(String, ViaHeaderValue) TryParse(String, ViaHeaderValue)

Determines whether a string is valid ViaHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

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

Applies to