阅读的Flex / Flash网址具有传输编码分块网址、Flex、Flash

2023-09-08 15:28:20 作者:不吃软饭吃软糖

我有一个问题从Flex URL具有传输编码阅读:分块,因为FLEX等待服务器发送终止信号,这在分块传输未发送...

I have a problem reading from Flex a url which has Transfer-Encoding: chunked because the FLex waits for the server to send terminate signal which in chunked transfer isn't sent...

推荐答案

使用URLStream类,而不是你现在使用的任何装载机。其ProgressEvents将让你阅读数据块的消息完成之前。

Use the URLStream class instead of whatever loader you're using now. Its ProgressEvents will let you read chunks before the message completes.