Add project
This commit is contained in:
commit
7fcb279842
961 changed files with 370491 additions and 0 deletions
35
packages/CefSharp.Common.87.1.132/src/CefSharp.Core.Runtime/UrlRequest.cpp
vendored
Normal file
35
packages/CefSharp.Common.87.1.132/src/CefSharp.Core.Runtime/UrlRequest.cpp
vendored
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue