Inheritance diagram for pp::URLResponseInfo:

Public Member Functions
| URLResponseInfo () | |
| URLResponseInfo (PassRef, PP_Resource resource) | |
| URLResponseInfo (const URLResponseInfo &other) | |
| Var | GetProperty (PP_URLResponseProperty property) const |
| FileRef | GetBodyAsFileRef () const |
| Var | GetURL () const |
| Var | GetRedirectURL () const |
| Var | GetRedirectMethod () const |
| int32_t | GetStatusCode () const |
| Var | GetStatusLine () const |
| Var | GetHeaders () const |
Detailed Description
URLResponseInfo provides an API for examining URL responses.
Constructor & Destructor Documentation
| pp::URLResponseInfo::URLResponseInfo | ( | ) | [inline] |
Default constructor.
This constructor creates an is_null resource.
| pp::URLResponseInfo::URLResponseInfo | ( | PassRef | , |
| PP_Resource | resource | ||
| ) |
A constructor used when you have received a PP_Resource as a return value that has already been reference counted.
- Parameters:
[in] resource A PP_Resourcecorresponding to a resource.
| pp::URLResponseInfo::URLResponseInfo | ( | const URLResponseInfo & | other | ) |
The copy constructor for URLResponseInfo.
Member Function Documentation
This function returns a FileRef pointing to the file containing the response body.
This is only valid if PP_URLREQUESTPROPERTY_STREAMTOFILE was set on the URLRequestInfo used to produce this response. This file remains valid until the URLLoader associated with this URLResponseInfo is closed or destroyed.
| Var pp::URLResponseInfo::GetHeaders | ( | ) | const [inline] |
| Var pp::URLResponseInfo::GetProperty | ( | PP_URLResponseProperty | property | ) | const |
| Var pp::URLResponseInfo::GetRedirectMethod | ( | ) | const [inline] |
| Var pp::URLResponseInfo::GetRedirectURL | ( | ) | const [inline] |
| int32_t pp::URLResponseInfo::GetStatusCode | ( | ) | const [inline] |
This function gets the PP_URLRESPONSEPROPERTY_STATUSCODE property for the response.
- Returns:
- A int32_t containing the response property value if successful,
is_undefined Varif an input parameter is invalid.
| Var pp::URLResponseInfo::GetStatusLine | ( | ) | const [inline] |
| Var pp::URLResponseInfo::GetURL | ( | ) | const [inline] |
The documentation for this class was generated from the following file: