Trait ppapi::ppb::URLRequestInfoIfExperimental [-]  [+] [src]

pub trait URLRequestInfoIf {
    fn create(&self, instance: PP_Instance) -> Option<PP_Resource>;
    fn is(&self, res: PP_Resource) -> bool;
    fn property(&self, res: PP_Resource, prop: PP_URLRequestProperty, value: PP_Var) -> bool;
    fn append_file_to_body(&self, res: PP_Resource, file: PP_Resource, start_offset: Option<i64>, bytes: Option<i64>, last_modified: Option<PP_Time>) -> bool;
    fn append_blob_to_body(&self, res: PP_Resource, data: &Vec<u8>) -> bool;
}

Required Methods

fn create(&self, instance: PP_Instance) -> Option<PP_Resource>

fn is(&self, res: PP_Resource) -> bool

fn property(&self, res: PP_Resource, prop: PP_URLRequestProperty, value: PP_Var) -> bool

fn append_file_to_body(&self, res: PP_Resource, file: PP_Resource, start_offset: Option<i64>, bytes: Option<i64>, last_modified: Option<PP_Time>) -> bool

fn append_blob_to_body(&self, res: PP_Resource, data: &Vec<u8>) -> bool

Implementors