lib/curl/Request: add method GetEasy()
This commit is contained in:
parent
bbf190fc42
commit
6ada2c9c3f
@ -101,6 +101,15 @@ public:
|
||||
return easy.Get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide access to the underlying #CurlEasy instance, which
|
||||
* allows the caller to configure options prior to submitting
|
||||
* this request.
|
||||
*/
|
||||
auto &GetEasy() noexcept {
|
||||
return easy;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void SetOption(CURLoption option, T value) {
|
||||
easy.SetOption(option, value);
|
||||
|
Loading…
Reference in New Issue
Block a user