mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:58:48 +00:00
24 lines
463 B
C++
24 lines
463 B
C++
#include "stdafx.h"
|
|
|
|
#include "Request.h"
|
|
|
|
namespace CefSharp
|
|
{
|
|
|
|
String^ CefRequestWrapper::Url::get()
|
|
{
|
|
return convertToString(_wrappedRequest->GetURL());
|
|
}
|
|
|
|
void CefRequestWrapper::Url::set(String^ url)
|
|
{
|
|
if(url == nullptr)
|
|
{
|
|
throw gcnew System::ArgumentException("cannot be null", "url");
|
|
}
|
|
|
|
CefString str = convertFromString(url);
|
|
_wrappedRequest->SetURL(str);
|
|
}
|
|
|
|
} |