Instance Method

webPlugInMainResourceDidReceiveResponse:

Invoked when the connection receives sufficient data to construct the URL response for its request.

Declaration

- (void)webPlugInMainResourceDidReceiveResponse:(NSURLResponse *)response;

Parameters

response

The URL response for the connection's request.

Discussion

This message is invoked when the WebPlugInShouldLoadMainResourceKey plug-in command-line argument is set to NO and the underlying NSURLConnection object for the main resource sends the connection:didReceiveResponse: message to its delegate.

See Also

Main resource messages

- webPlugInMainResourceDidFailWithError:

Invoked when an error occurs loading the main resource.

- webPlugInMainResourceDidFinishLoading

Invoked when the connection successfully finishes loading data.

- webPlugInMainResourceDidReceiveData:

Invoked when the connection loads data incrementally.