Here are two projects for testing UWR for downloading files from a local file server.
- Clone this.
- Open the server project under "Pechito"
- Open the Unity client project under "UWR"
- From the Unity Client project, click on "Tools/Generate Files" and click on "Generate Files". This will create the test files in "ServerFiles". From the server program edit the directoryPath variable so it points to "ServerFiles".
- Build and run the server program
- In the Unity client project, open the SampleScene, enter play mode, and Click on the buttons generated on the screen. This will print different information to the console (including response content encoding and timing).