mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
61ce52a2a4
Conflicts: CefSharp.Core/SchemeHandlerFactoryWrapper.cpp CefSharp.Core/SchemeHandlerFactoryWrapper.h CefSharp.Core/SchemeHandlerResponse.cpp Merge merge merge, merges are fun.
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#pragma once
|
|
|
|
#include "Stdafx.h"
|
|
#include "MCefRefPtr.h"
|
|
|
|
using namespace System;
|
|
using namespace System::Collections::Specialized;
|
|
using namespace CefSharp;
|
|
|
|
namespace CefSharp
|
|
{
|
|
namespace Internals
|
|
{
|
|
public ref class CefRequestWrapper : public IRequest
|
|
{
|
|
MCefRefPtr<CefRequest> _wrappedRequest;
|
|
internal:
|
|
CefRequestWrapper(CefRefPtr<CefRequest> cefRequest) :
|
|
_wrappedRequest(cefRequest)
|
|
{
|
|
}
|
|
|
|
~CefRequestWrapper()
|
|
{
|
|
_wrappedRequest = nullptr;
|
|
}
|
|
|
|
protected:
|
|
virtual property String^ CharSet { String^ get(); }
|
|
|
|
public:
|
|
virtual property String^ Url { String^ get(); void set(String^ url); }
|
|
virtual property String^ Method { String^ get(); }
|
|
virtual property String^ Body { String^ get(); }
|
|
virtual property NameValueCollection^ Headers { NameValueCollection^ get(); void set(NameValueCollection^ url); }
|
|
virtual property TransitionType TransitionType { CefSharp::TransitionType get(); }
|
|
};
|
|
}
|
|
}
|