NSURLRequestMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem