HttpSource class
Namespace: Sources
A built-in update source that reads release feeds and downloads assets from a remote HTTP URL.
class HttpSource :public IUpdateSourcePointer
Constructors
| Constructor | Summary |
|---|---|
HttpSource | Creates a new HttpSource. |
HttpSource | Creates a new HttpSource with custom HTTP options. |
HttpSource(httpUrl)
HttpSource(std::string const& httpUrl);
Creates a new HttpSource.
Parameters
| Name | Description |
|---|---|
httpUrl | The URL to the releases feed. |
HttpSource(httpUrl, options)
HttpSource(std::string const& httpUrl, Velopack::HttpOptions const& options);
Creates a new HttpSource with custom HTTP options.
Parameters
| Name | Description |
|---|---|
httpUrl | The URL to the releases feed. |
options | HTTP options (custom headers, timeout) applied to all requests made by this source. |
Generated from Velopack (C++ headers)