5 #ifndef PPAPI_CPP_URL_RESPONSE_INFO_H_
6 #define PPAPI_CPP_URL_RESPONSE_INFO_H_
8 #include "ppapi/c/ppb_url_response_info.h"
9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/var.h"
75 return GetProperty(PP_URLRESPONSEPROPERTY_REDIRECTURL);
85 return GetProperty(PP_URLRESPONSEPROPERTY_REDIRECTMETHOD);
104 return GetProperty(PP_URLRESPONSEPROPERTY_STATUSLINE);
114 return GetProperty(PP_URLRESPONSEPROPERTY_HEADERS);
120 #endif // PPAPI_CPP_URL_RESPONSE_INFO_H_
Var GetStatusLine() const
Var GetRedirectMethod() const
Var GetRedirectURL() const
Var GetProperty(PP_URLResponseProperty property) const
int32_t GetStatusCode() const
URLResponseInfo provides an API for examining URL responses.
FileRef GetBodyAsFileRef() const
A generic type used for passing data types between the module and the page.
A reference counted module resource.