Platforms to show: All Mac Windows Linux Cross-Platform
WebResourceMBS 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 |
Example:
dim w as new WebResourceMBS("Hello World", "http://www.server.invalid", "text/plain", "ASCII", "myframe")
MsgBox w.URL+EndOfLine+w.textEncodingName+EndOfLine+w.MIMEType
This item is deprecated and should no longer be used.
Notes:
This classs is not available in Xojo 2020r1 or newer.
It includes the data of the resource as well as the metadata associated with the resource.
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.
- property Handle as Integer
- 6 methods
- method Constructor(data as MemoryBlock, url as string, mimeType as string, TextEncodingName as string="", frameName as string="")
- method data as MemoryBlock
- method frameName as String
- method MIMEType as String
- method textEncodingName as String
- method URL as String
This class has no sub classes.
Some methods using this class:
- WebArchiveMBS.Constructor(mainResource as WebResourceMBS)
- WebArchiveMBS.Constructor(mainResource as WebResourceMBS, subresources() as WebResourceMBS)
- WebArchiveMBS.Constructor(mainResource as WebResourceMBS, subresources() as WebResourceMBS, subframeArchives() as WebArchiveMBS)
- WebArchiveMBS.mainResource as WebResourceMBS
- WebArchiveMBS.subresources as WebResourceMBS()
- WebDataSourceMBS.addSubresource(Subresource as WebResourceMBS)
- WebDataSourceMBS.mainResource as WebResourceMBS
- WebDataSourceMBS.subresourceForURL(url as string) as WebResourceMBS
- WebDataSourceMBS.subresources as WebResourceMBS()
The items on this page are in the following plugins: MBS MacControls Plugin.
WebResourceLoadDelegateMBS - WebScriptCallbackMBS
Feedback: Report problem or ask question.