88
edits
| Line 20: | Line 20: | ||
= Current Proposal = | = Current Proposal = | ||
* Last modified: Augus 19, 2009 | |||
* Author: Darin Fisher (Google) and Julian Reschke (greenbytes) | |||
* Contributors: Ian Melven (Mozilla) | |||
The current proposal is to add a new method inspired by NPP_URLNotify, adding the missing pieces: | |||
<pre> | |||
NPError NPN_RequestURLNotify( | |||
NPP instance, | |||
const char* method, | |||
const char* url, | |||
const char* target, | |||
const char* headers, | |||
PRUInt64 len, | |||
const char* buf, | |||
NPBool file, | |||
void* notifyData); | |||
</pre> | |||
and have a matching plugin method providing all aspects of the HTTP response: | |||
<pre> | |||
void NPP_ResponseURLNotify( | |||
NPP instance, | |||
const char* url, | |||
NPReason reason, | |||
int status, | |||
const char* headers, | |||
void* notifyData); | |||
</pre> | |||
edits