useHttp2 property
Use HTTP2 sockets for interacting with API.
This is the recommended way, but it may not work on certain platforms like web.
If false
, then the http
package is used.
Implementation
final bool useHttp2;
Use HTTP2 sockets for interacting with API.
This is the recommended way, but it may not work on certain platforms like web.
If false
, then the http
package is used.
final bool useHttp2;