System::Net::Http::Headers::ViaHeaderValue class
Contents
[
Hide
]ViaHeaderValue class
Represents a value of the ‘Via’ header. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class ViaHeaderValue : public System::ICloneable
Methods
Method | Description |
---|---|
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_Comment() | Returns the comment from the ‘Via’ header value. |
get_ProtocolName() | RTTI information. |
get_ProtocolVersion() | Returns the protocol version from the ‘Via’ header value. |
get_ReceivedBy() | Returns the host and port that the request or response was received by. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
static GetViaLength(String, int32_t, System::SharedPtr<Object>&) | Converts a passed string from the specified index to an instance of the ViaHeaderValue class. |
static Parse(String) | Converts a passed string to an instance of the ViaHeaderValue class. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static TryParse(String, System::SharedPtr<ViaHeaderValue>&) | Tries to convert a passed string to an instance of the ViaHeaderValue class. |
ViaHeaderValue(String, String) | Constructs a new instance. |
ViaHeaderValue(String, String, String) | Constructs a new instance. |
ViaHeaderValue(String, String, String, String) | Constructs a new instance. |
See Also
- Class ICloneable
- Namespace System::Net::Http::Headers
- Library Aspose.PDF for C++