Add project

This commit is contained in:
Diamond Creeper 2023-02-20 23:24:10 +13:00
commit 7fcb279842
961 changed files with 370491 additions and 0 deletions

View file

@ -0,0 +1,35 @@
// Copyright © 2019 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.
#include "Stdafx.h"
#include "UrlRequest.h"
#include "Internals\CefResponseWrapper.h"
namespace CefSharp
{
namespace Core
{
bool UrlRequest::ResponseWasCached::get()
{
ThrowIfDisposed();
return _urlRequest->ResponseWasCached();
}
IResponse^ UrlRequest::Response::get()
{
ThrowIfDisposed();
return gcnew CefResponseWrapper(_urlRequest->GetResponse());
}
UrlRequestStatus UrlRequest::RequestStatus::get()
{
ThrowIfDisposed();
return (UrlRequestStatus)_urlRequest->GetRequestStatus();
}
}
}