Instance Property インスタンスプロパティ

expectedContentLength

The expected length of the response’s content. 応答のもつ内容の予想される長さ。

Declaration 宣言

@property(readonly) long long expectedContentLength;

Discussion 議論

This property’s value is NSURLResponseUnknownLength if the length can’t be determined. このプロパティの値は、NSURLResponseUnknownLengthです、もし長さが決定されることができないならば。

Some protocol implementations report the content length as part of the response, but not all protocols guarantee to deliver that amount of data. Your app should be prepared to deal with more or less data. いくつかのプロトコル実装は、内容の長さを応答の一部として報告します、しかし全てのプロトコルがその量のデータを配達することを保証されません。あなたのアプリは、より多いまたはより少ないデータを処理する準備ができているべきです。

See Also 参照

Getting the Response Properties 応答プロパティを取得する