System::Net::WebResponse class
Contents
[
Hide
]WebResponse class
Represents a web response. 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 WebResponse : public System::IDisposable
Methods
Method | Description |
---|---|
virtual Close() | Closes the response stream. |
Dispose() override | Does nothing. |
virtual get_ContentLength() | RTTI information. |
virtual get_ContentType() | Returns the MIME type of the resource. |
virtual get_Headers() | Returns the collection of the headers that are associated with the current response. |
virtual get_ResponseUri() | Returns the resource’s URI. |
virtual get_SupportsHeaders() | Returns a value that indicates if the current response supports headers. |
virtual GetResponseStream() | Returns the response stream. |
See Also
- Class IDisposable
- Namespace System::Net
- Library Aspose.Font for C++