webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
IWebResource Interface Reference

import"IWebResource.idl";

Inheritance diagram for IWebResource:
WebResource

Public Member Functions

HRESULT initWithData ([in] IStream *data, [in] BSTR url, [in] BSTR mimeType, [in] BSTR textEncodingName, [in] BSTR frameName)
 
HRESULT data ([out, retval] IStream **data)
 
HRESULT URL ([out, retval] BSTR *url)
 
HRESULT MIMEType ([out, retval] BSTR *mime)
 
HRESULT textEncodingName ([out, retval] BSTR *encodingName)
 
HRESULT frameName ([out, retval] BSTR *name)
 

Member Function Documentation

◆ data()

HRESULT IWebResource::data ( [out, retval] IStream **  data)

data

Returns
The data of the resource.
  • (NSData *)data;

◆ frameName()

HRESULT IWebResource::frameName ( [out, retval] BSTR name)

frameName

Returns
The frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil).
  • (NSString *)frameName;

◆ initWithData()

HRESULT IWebResource::initWithData ( [in] IStream *  data,
[in] BSTR  url,
[in] BSTR  mimeType,
[in] BSTR  textEncodingName,
[in] BSTR  frameName 
)

initWithData:URL:MIMEType:textEncodingName:frameName The initializer for WebResource.

Parameters
dataThe data of the resource.
URLThe URL of the resource.
MIMETypeThe MIME type of the resource.
textEncodingNameThe text encoding name of the resource (can be nil).
frameNameThe frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil).
Returns
An initialized WebResource.
  • (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName;

◆ MIMEType()

HRESULT IWebResource::MIMEType ( [out, retval] BSTR mime)

MIMEType

Returns
The MIME type of the resource.
  • (NSString *)MIMEType;

◆ textEncodingName()

HRESULT IWebResource::textEncodingName ( [out, retval] BSTR encodingName)

textEncodingName

Returns
The text encoding name of the resource (can be nil).
  • (NSString *)textEncodingName;

◆ URL()

HRESULT IWebResource::URL ( [out, retval] BSTR url)

URL

Returns
The URL of the resource.
  • (NSURL *)URL;

The documentation for this interface was generated from the following file: