Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLResponseMBS class.

NSURLResponseMBS.localizedStringForStatusCode(statusCode as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Networking MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Convenience method which returns a localized string corresponding to the status code for this response.

statusCode: the status code to use to produce a localized string.
Returns a localized string corresponding to the given status code or an empty string.

Some examples using this method:

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...