-
-
Notifications
You must be signed in to change notification settings - Fork 39
Resolving packages from your own web server (WebPackageResolver)
Alexey Golub edited this page Mar 24, 2018
·
1 revision
If you want to deploy updates to your application using your own web server, you can use WebPackageResolver
. It works by simply sending a GET
request to a predefined URL and expects a response of specific format.
The response should be a plain-text map defining the mapping of package versions to their download URLs, for example:
1.0 https://my-web-site.com/Applications/MyApplication/1.0.zip
1.1 https://my-web-site.com/Applications/MyApplication/1.1.zip
1.1.1 https://my-web-site.com/Applications/MyApplication/1.1.1.zip
1.2 https://my-web-site.com/Applications/MyApplication/1.2.zip
WebPackageResolver
parses the response down one line at a time. If the package version could not be parsed, or the response doesn't follow the expected format, the current line is skipped.