![SimpleH2downloader](https://assetstorev1-prd-cdn.unity3d.com/key-image/3bf82a5d-fb66-4d0c-8a74-927a126c3825.jpg)
This is an asset to enhance the mechanism for downloading from the Internet.
Unity normally uses UnityWebRequest, which is internally used by the .NET/Mono runtime using HTTP1.1.
This increases download overhead and slows transfer as the number of files increases.
This asset uses the HTTP2(H2) binary communication protocol, which not only reduces the overhead compared to HTTP1.1, but also improves the parallelization so that the bandwidth can be used more efficiently and high-speed download is possible. It can be realized.
FAQ
1. What is the timeout?
connection time out is 10 seconds. and returns an error when not receiving 1 byte for 4 seconds.
2. How many receive buffers?
16KB per connection.The number of connections can be changed dynamically.
3. What should I do to check the server certificate?
This asset is for download, so we've skipped server certificate validation.
4. Does it support H2c(HTTP/2 cleartext TCP)?
Not supported. yet.
5. Do you support server push?
Not supported.
6. What's using OSS(OpenSourceSoftwares)?
- libc++(Android only)
- OpenSSL
- nghttp2
- cURL
7. What devices are supported?
- Android 4.1+
- iOS 8+
- Windows
- macOS