Platforms to show: All Mac Windows Linux Cross-Platform

WebResourceLoadDelegateMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class HTMLViewer Mac MBS MacControls Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A class to receive informations about resource loading.
This item is deprecated and should no longer be used.
Notes:
This classs is not available in Xojo 2020r1 or newer.

Implementors of this protocol will receive messages indicating that a resource is about to be loaded, data has been received for a resource, an error has been received for a resource, and completion of a resource load.

Implementors are also given the opportunity to mutate requests before they are sent.
The various progress methods of this protocol all receive an identifier as the parameter. This identifier can be used to track messages associated with a single resource. For example, a single resource may generate multiple willSendRequest calls as it's URL is redirected.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

Please use one delegate class per HTMLViewer (or WebViewMBS) and make sure they live about the same time. Our class keeps a reference on the WebView, so we can remove our delegate when the delegate is destroyed.

This class has no sub classes.

Some useful global functions for this class:

Blog Entries


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


WebPrintMBS   -   WebResourceMBS

Feedback: Report problem or ask question.

The biggest plugin in space...