Type Method 型メソッド

localizedString(forStatusCode:)

Returns a localized string corresponding to a specified HTTP status code. 指定されたHTTP状態コードと対応しているローカライズされた文字列を返します。

Declaration 宣言

class func localizedString(forStatusCode statusCode: Int) -> String

Parameters パラメータ

statusCode

The HTTP status code. See RFC 2616 for details. HTTP状態コード。RFC 2616を詳細として見てください。

Return Value 戻り値

A localized string suitable for displaying to users that describes the specified status code. ユーザに表示するのに適したローカライズされた文字列、それは指定された状態コードを記述します。

See Also 参照

Getting Response Status Codes リソース状態コードを取得する