5#include <net/web_header_collection.h>
6#include <system/idisposable.h>
7#include <system/io/stream.h>
8#include <system/object.h>
9#include <system/shared_ptr.h>
10#include <system/string.h>
11#include <system/uri.h>
13namespace System {
namespace Net {
27 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
29 ASPOSECPP_SHARED_RTTI_INFO_DECL();
49 ASPOSECPP_SHARED_API
virtual void Close();
Defines method that releases resources owned by the current object. Objects of this class should only...
Definition: idisposable.h:30
Represents a web response. Objects of this class should only be allocated using System::MakeObject() ...
Definition: web_response.h:20
virtual System::SharedPtr< Uri > get_ResponseUri()=0
Returns the resource's URI.
void Dispose() override
Does nothing.
WebResponse()
Constructs a new instance.
virtual System::SharedPtr< IO::Stream > GetResponseStream()=0
Returns the response stream.
virtual int64_t get_ContentLength()=0
Returns the number of bytes of the resource.
virtual void Dispose(bool disposing)
Disposes the current instance.
virtual System::SharedPtr< WebHeaderCollection > get_Headers()
Returns the collection of the headers that are associated with the current response.
virtual void Close()
Closes the response stream.
virtual String get_ContentType()=0
Returns the MIME type of the resource.
virtual bool get_SupportsHeaders()
Returns a value that indicates if the current response supports headers.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9