A remote endpoint using http. More...
#include <remote_handle.hpp>
Public Member Functions | |
| HttpEndpoint (std::string url) | |
| Create an http endpoint from a url. More... | |
| void | setopt (CurlHandle &curl) override |
| Set needed connection options on a curl handle. More... | |
| std::string | str () const override |
| Get a description of this remote point instance. More... | |
A remote endpoint using http.
Definition at line 73 of file remote_handle.hpp.
| kvikio::HttpEndpoint::HttpEndpoint | ( | std::string | url | ) |
Create an http endpoint from a url.
| url | The full http url to the remote file. |
|
overridevirtual |
Set needed connection options on a curl handle.
Subsequently, a call to curl.perform() should connect to the endpoint.
| curl | The curl handle. |
Implements kvikio::RemoteEndpoint.
|
overridevirtual |
Get a description of this remote point instance.
Implements kvikio::RemoteEndpoint.