Skip to main content

GithubSource Constructors

Declaring Type: GithubSource
Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.942+a011233

public GithubSource(string repoUrl, string accessToken, bool prerelease, IFileDownloader downloader = null);

Parameters

repoUrl string

The URL of the GitHub repository to download releases from (e.g. https://github.com/myuser/myrepo)

accessToken string

The GitHub access token to use with the request to download releases. If left empty, the GitHub rate limit for unauthenticated requests allows for up to 60 requests per hour, limited by IP address.

prerelease bool

If true, pre-releases will be also be searched / downloaded. If false, only stable releases will be considered.

downloader IFileDownloader

The file downloader used to perform HTTP requests.


Documentation generated by MdDocs