-
Notifications
You must be signed in to change notification settings - Fork 24
Patch.getResponseFromURL
Wesley Haws edited this page Nov 2, 2016
·
2 revisions
#getResponseFromURL
public string getResponseFromURL(string url)
##Parameters
Type | Name | Description |
---|---|---|
string | url | Full URL. EX:"https://www.dropbox.com/s/y1lckubwva024pb/version.txt?dl=1" |
##Description
Calls a url and returns the contents from it as a string.
##Example
using GameDevRepo;
void Start() {
PatchSystem patch = new PatchSystem();
string contents = patch.getResponseFromURL("https://www.dropbox.com/s/y1lckubwva024pb/version.txt?dl=1");
Debug.Log("File Contents: "+contents);
}
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager