Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLRequestMBS class.
NSURLRequestMBS.allHTTPHeaderFields as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLRequestMBS.Constructor(url as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Default values are used for cache policy (NSURLRequestUseProtocolCachePolicy) and timeout interval (60 seconds).
On success, handle property is not zero.
See also:
NSURLRequestMBS.Constructor(url as string, cachePolicy as Integer, timeoutInterval as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
On success, handle property is not zero.
See also:
NSURLRequestMBS.copy as NSURLRequestMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLRequestMBS.mutableCopy as NSMutableURLRequestMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLRequestMBS.valueForHTTPHeaderField(field as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
field: The name of the header field whose value is to be returned. In keeping with the HTTP RFC, HTTP header field names are case-insensitive.
Returns the value associated with the header field field, or "" if there is no corresponding header field.
The items on this page are in the following plugins: MBS MacBase Plugin.