Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLRequestMBS class.

NSURLRequestMBS.requestWithHandle(Handle as Integer) as NSURLRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Networking MBS MacBase Plugin 16.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new request object based on a handle value.

Will retain the reference.

NSURLRequestMBS.requestWithURL(url as string) as NSURLRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Networking MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an NSURLRequest with the given URL.
Example
dim r as NSURLRequestMBS

r=r.requestWithURL("http://www.apple.com",0,5.0)

Default values are used for cache policy (NSURLRequestUseProtocolCachePolicy) and timeout interval (60 seconds).

See also:

NSURLRequestMBS.requestWithURL(url as string, cachePolicy as Integer, timeoutInterval as Double) as NSURLRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Networking MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an NSURLRequest with the given URL.
Example
dim r as NSURLRequestMBS

r=r.requestWithURL("http://www.apple.com", NSURLRequestMBS.NSURLRequestUseProtocolCachePolicy, 5.0)

See also:

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


The biggest plugin in space...