ViaHeaderValue()

ViaHeaderValue::ViaHeaderValue(String, String) constructor

Constructs a new instance.

System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue(String protocolVersion, String receivedBy)

Arguments

ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.

ViaHeaderValue::ViaHeaderValue(String, String, String) constructor

Constructs a new instance.

System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue(String protocolVersion, String receivedBy, String protocolName)

Arguments

ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.
protocolNameStringThe protocol name.

ViaHeaderValue::ViaHeaderValue(String, String, String, String) constructor

Constructs a new instance.

System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue(String protocolVersion, String receivedBy, String protocolName, String comment)

Arguments

ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.
protocolNameStringThe protocol name.
commentStringThe comment.

See Also