Instance Method

cancel()

Cancels a metadata request.

Declaration

func cancel()

Discussion

This method invokes the completion handler with the error code LPError.Code.metadataFetchCancelled if the request hasn’t already completed.

See Also

Fetching Metadata

var shouldFetchSubresources: Bool

A Boolean value indicating whether to download subresources specified by the metadata.

var timeout: TimeInterval

The time interval after which the request automatically fails if it hasn’t already completed.