Files
cefsharp/CefSharp/Request.cpp
T
2010-12-03 16:22:41 +00:00

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);
}
}