[][src]Trait sync15::request::BatchPoster

pub trait BatchPoster {
    fn post<P, O>(
        &self,
        body: Vec<u8>,
        xius: ServerTimestamp,
        batch: Option<String>,
        commit: bool,
        queue: &PostQueue<P, O>
    ) -> Result<Sync15ClientResponse<UploadResult>>; }

Required methods

fn post<P, O>(
    &self,
    body: Vec<u8>,
    xius: ServerTimestamp,
    batch: Option<String>,
    commit: bool,
    queue: &PostQueue<P, O>
) -> Result<Sync15ClientResponse<UploadResult>>

Note: Last argument (reference to the batch poster) is provided for the purposes of testing Important: Poster should not report non-success HTTP statuses as errors!!

Loading content...

Implementors

impl<'a> BatchPoster for PostWrapper<'a>[src]

Loading content...