NPAPI:HTTPRedirectHandling: Difference between revisions

Jump to navigation Jump to search
Line 27: Line 27:
                                 NPN_HTTPRedirectResponseFunc callback);
                                 NPN_HTTPRedirectResponseFunc callback);


* instance: the plug-in instance that made the request
* instance: The plug-in instance that made the request.
* url: the new target url for the redirect
* url: The new target url for the redirect.
* status: the status code returned from the server (will be 3xx)
* status: The status code returned from the server (will be 3xx).
* notifyData: the data passed into 'NPN_PostURLNotify' or 'NPN_GetURLNotify'
* notifyData: The data passed into 'NPN_PostURLNotify' or 'NPN_GetURLNotify'.
* callback: the address of a callback function for asynchronous responses
* callback: The address of a callback function for asynchronous responses. Can be 'NULL' if asynchronous responses are not allowed.


The browser will look for 'NPP_URLRedirectNotify' only if the plugin function structure's version field is set to the following value or higher:
The browser will look for 'NPP_URLRedirectNotify' only if the plugin function structure's version field is set to the following value or higher:
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu