ViaHeaderValue Constructor (String^, String^, String^, String^)

.NET Framework (current version)
 

Initializes a new instance of the ViaHeaderValue class.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
ViaHeaderValue(
	String^ protocolVersion,
	String^ receivedBy,
	String^ protocolName,
	String^ comment
)

Parameters

protocolVersion
Type: System::String^

The protocol version of the received protocol.

receivedBy
Type: System::String^

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

protocolName
Type: System::String^

The protocol name of the received protocol.

comment
Type: System::String^

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: