CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
http_message_handler.h
1
2#pragma once
3
4#include <system/idisposable.h>
5#include <system/object.h>
6#include <system/shared_ptr.h>
7
8#include <net/http/http_request_message.h>
9#include <net/http/http_response_message.h>
10
11namespace System { namespace Net { namespace Http {
12
17class ASPOSECPP_SHARED_CLASS ABSTRACT HttpMessageHandler : public System::IDisposable
18{
23
25 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27 ASPOSECPP_SHARED_RTTI_INFO_DECL();
28
29public:
35 ASPOSECPP_SHARED_API void Dispose() override;
36
37protected:
40
43 virtual void Dispose(bool disposing);
44};
45
46}}} // namespace System::Net::Http
Defines method that releases resources owned by the current object. Objects of this class should only...
Definition: idisposable.h:30
Represents a base type for the HTTP message handlers. Objects of this class should only be allocated ...
Definition: http_message_handler.h:18
HttpMessageHandler()
Constructs a new instance.
virtual System::SharedPtr< HttpResponseMessage > Send(System::SharedPtr< HttpRequestMessage > request)=0
Sends the specified request.
virtual void Dispose(bool disposing)
Disposes the current instance.
void Dispose() override
Does nothing.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9