pub struct Struct_PPB_URLLoader_1_0 {
pub Create: Option< extern "C" fn(instance: PP_Instance) -> PP_Resource>,
pub IsURLLoader: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
pub Open: Option< extern "C" fn(loader: PP_Resource, request_info: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub FollowRedirect: Option< extern "C" fn(loader: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub GetUploadProgress: Option< extern "C" fn(loader: PP_Resource, bytes_sent: *mut int64_t, total_bytes_to_be_sent: *mut int64_t) -> PP_Bool>,
pub GetDownloadProgress: Option< extern "C" fn(loader: PP_Resource, bytes_received: *mut int64_t, total_bytes_to_be_received: *mut int64_t) -> PP_Bool>,
pub GetResponseInfo: Option< extern "C" fn(loader: PP_Resource) -> PP_Resource>,
pub ReadResponseBody: Option< extern "C" fn(loader: PP_Resource, buffer: *mut c_void, bytes_to_read: int32_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub FinishStreamingToFile: Option< extern "C" fn(loader: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub Close: Option< extern "C" fn(loader: PP_Resource)>,
}
Fields
Create | |
IsURLLoader | |
Open | |
FollowRedirect | |
GetUploadProgress | |
GetDownloadProgress | |
GetResponseInfo | |
ReadResponseBody | |
FinishStreamingToFile | |
Close | |
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).