Saltar al contenido principal

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

ConstructorSummary
HttpSourceCreates a new HttpSource.
HttpSourceCreates a new HttpSource with custom HTTP options.

HttpSource(httpUrl)

HttpSource(std::string const& httpUrl);

Creates a new HttpSource.

Parameters

NameDescription
httpUrlThe 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

NameDescription
httpUrlThe URL to the releases feed.
optionsHTTP options (custom headers, timeout) applied to all requests made by this source.

Generated from Velopack (C++ headers)