System::Net::HttpWebResponse class
Contents
[
Hide
]HttpWebResponse class
Represents the HTTP 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 HttpWebResponse : public System::Net::WebResponse
Methods
| Method | Description |
|---|---|
| Close() override | Closes the response stream. |
| get_CharacterSet() | Not implemented. |
| get_ContentLength() override | RTTI information. |
| get_ContentType() override | Returns the MIME type of the resource. |
| virtual get_Cookies() | Returns cookies associated with the web response. |
| get_Headers() override | Returns the collection of the headers that are associated with the current response. |
| virtual get_Method() | Returns the HTTP method. |
| get_ResponseUri() override | Returns the resource’s URI. |
| virtual get_StatusCode() | Returns the HTTP status code associated with the web response. |
| virtual get_StatusDescription() | Returns the string representation of the status code. |
| get_SupportsHeaders() override | Returns a value that indicates if the current response supports headers. |
| GetResponseHeader(String) | Returns the corresponding value for the specified header name. |
| GetResponseStream() override | Returns the response stream. |
| HttpWebResponse(System::SharedPtr<Http::HttpResponseMessage>, System::SharedPtr<Uri>, System::SharedPtr<CookieContainer>) | Constructs a new instance. |
See Also
- Class WebResponse
- Namespace System::Net
- Library Aspose.TeX for C++