Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
|||
Line 20: | Line 20: | ||
The following function can be implemented by plugins to allow for URL redirect handling: | The following function can be implemented by plugins to allow for URL redirect handling: | ||
void NPP_URLRedirectNotify(NPP instance, const char* | void NPP_URLRedirectNotify(NPP instance, const char* url, | ||
int32 status, void* notifyData); | int32 status, void* notifyData); | ||
* instance: The plug-in instance that made the request. | * instance: The plug-in instance that made the request. | ||
* | * url: The raw 'Location' header field value for the redirect. | ||
* status: The HTTP status code returned from the server (will be 3xx). | * status: The HTTP status code returned from the server (will be 3xx). | ||
* notifyData: The plugin's private request data. | * notifyData: The plugin's private request data. |