System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue constructor

ViaHeaderValue::ViaHeaderValue(String, String) constructor

Constructs a new instance.

System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue(String protocolVersion, String receivedBy)
ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.

See Also

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

Constructs a new instance.

System::Net::Http::Headers::ViaHeaderValue::ViaHeaderValue(String protocolVersion, String receivedBy, String protocolName)
ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.
protocolNameStringThe protocol name.

See Also

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)
ParameterTypeDescription
protocolVersionStringThe protocol version.
receivedByStringThe host and port that the request or response was received by.
protocolNameStringThe protocol name.
commentStringThe comment.

See Also