5 #ifndef PPAPI_CPP_URL_RESPONSE_INFO_H_
6 #define PPAPI_CPP_URL_RESPONSE_INFO_H_
10 #include "ppapi/c/ppb_url_response_info.h"
77 return GetProperty(PP_URLRESPONSEPROPERTY_REDIRECTURL);
87 return GetProperty(PP_URLRESPONSEPROPERTY_REDIRECTMETHOD);
106 return GetProperty(PP_URLRESPONSEPROPERTY_STATUSLINE);
116 return GetProperty(PP_URLRESPONSEPROPERTY_HEADERS);
122 #endif // PPAPI_CPP_URL_RESPONSE_INFO_H_
Definition: file_ref.h:27
Var GetStatusLine() const
Definition: url_response_info.h:105
Var GetRedirectMethod() const
Definition: url_response_info.h:86
Var GetRedirectURL() const
Definition: url_response_info.h:76
Var GetProperty(PP_URLResponseProperty property) const
Var GetURL() const
Definition: url_response_info.h:66
int32_t GetStatusCode() const
Definition: url_response_info.h:95
URLResponseInfo()
Definition: url_response_info.h:25
PassRef
Definition: pass_ref.h:17
URLResponseInfo provides an API for examining URL responses.
Definition: url_response_info.h:21
Var GetHeaders() const
Definition: url_response_info.h:115
FileRef GetBodyAsFileRef() const
A generic type used for passing data types between the module and the page.
Definition: var.h:23
A reference counted module resource.
Definition: resource.h:20