public bool chunkedTransfer ;

Descripción

**Deprecated.**. HTTP/2 and many HTTP/1.1 servers don't support this; we recommend leaving it set to false (default).

This property indicates whether the UnityWebRequest should employ the HTTP/1.1 chunked-transfer encoding method, which allows the system to send partial data and be prompted by the server for more data with a 100/Continue HTTP response. This property cannot be changed after calling Send.

In general, this property should usually be set to true, as it can conserve bandwidth when sending large amounts of data to the server, however older servers may not support it yet. This setting has no impact on requests which do not transmit data to the server, such as GET requests.

Note: On WebGL build targets, this setting is ignored. Instead, the web browser handles protocol negotiations.

Default value: false.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961