http/2

Hello! I wonder to know will be supported http/2 in Unity?

1 Like

???

is there any update on this yet?

There is an idea to support http/2 in UnityWebRequest somewhere in 2020.x, but it’s not yet a final decision.

@Aurimas-Cernius can you please elaborate? Does this mean you’re going to “possibly” support .net standard 2.1 (e.g. for ArrayPool, ArrayBuffer, …) and use corefx SocketsHttpHandler somehow without .net core 2/3 features (e.g. Span, ReadOnlySpan, …), or a complete custom implementation?

UnityWebRequest has a custom implementation, unrelated to .NET.

@Aurimas-Cernius so can’t use System.Net.Http instead of UnityWebRequest…