Contents

load(_:)

Connects to a given URL by initiating an asynchronous client request.

Declaration

func load(_ request: URLRequest!)

Parameters

  • request:

    A client request.

Discussion

Creates a provisional data source that will transition to a committed data source once any data has been received. Use the dataSource method to check if a committed data source is available, and the stopLoading() method to stop the load. This method is typically invoked on the main frame.

See Also

Loading Content