[−][src]Trait sync15::request::BatchPoster
Required methods
fn post<P, O>(
&self,
body: Vec<u8>,
xius: ServerTimestamp,
batch: Option<String>,
commit: bool,
queue: &PostQueue<P, O>
) -> Result<Sync15ClientResponse<UploadResult>>
&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!!
Implementors
impl<'a> BatchPoster for PostWrapper<'a>
[src]
fn post<T, O>(
&self,
bytes: Vec<u8>,
xius: ServerTimestamp,
batch: Option<String>,
commit: bool,
_: &PostQueue<T, O>
) -> Result<Sync15ClientResponse<UploadResult>>
[src]
&self,
bytes: Vec<u8>,
xius: ServerTimestamp,
batch: Option<String>,
commit: bool,
_: &PostQueue<T, O>
) -> Result<Sync15ClientResponse<UploadResult>>