Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSURLConnectionMBS.cancel
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Networking MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Cancels an asynchronous load of a request.
Notes: After this method is called, the connection's delegate no longer receives any messages for the connection. If you want to reattempt the connection, you should create a new connection object.

Feedback, Comments & Corrections

NSURLConnectionMBS.Constructor(request as NSURLRequestMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Networking MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Creates URL connection and begins to load the data for the URL request.
Notes:
request: The URL request to load. The request object is deep-copied as part of the initialization process. Changes made to request after this method returns do not affect the request that is used for the loading process.

On success handle property is not zero.

This is equivalent to calling Constructor and passing true for optional startImmediately.

See also:

Feedback, Comments & Corrections

NSURLConnectionMBS.Constructor(request as NSURLRequestMBS, startImmediately as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Networking MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Creates URL connection and begins to load the data for the URL request, if specified.
Notes:
request: The URL request to load. The request object is deep-copied as part of the initialization process. Changes made to request after this method returns do not affect the request that is used for the loading process.
startImmediately: True if the connection should being loading data immediately, otherwise false.

On success the handle property is not zero.

Available in Mac OS X v10.5 and later.

See also:

Feedback, Comments & Corrections

NSURLConnectionMBS.data as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Networking MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: The data downloaded so far.
Notes: The plugin adds the new data it gets in the didReceiveData event to a big memoryblock and gives you access to it using this event.

Feedback, Comments & Corrections

NSURLConnectionMBS.start
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Networking MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Causes the connection to begin loading data, if it has not already.
Notes:
Calling this method is necessary only if you create a connection with the Constructor method and provide false for the startImmediately parameter.

Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins