load(_:mimeType:textEncodingName:baseURL:)
Sets the main page contents, MIME type, content encoding, and base URL.
Declaration
func load(_ data: Data, mimeType MIMEType: String, textEncodingName: String, baseURL: URL)Parameters
- data:
The content for the main page.
- MIMEType:
The MIME type of the content.
- textEncodingName:
The IANA encoding name as in
utf-8orutf-16. - baseURL:
The base URL for the content.