Type Definition graph_http::IntoResponseBlocking

source ·
pub type IntoResponseBlocking<'a, T> = IntoResponse<'a, T, BlockingHttpClient>;

Implementations§

source§

impl<'a, T> IntoResponseBlocking<'a, T>

source§

impl<'a, T> IntoResponseBlocking<'a, T>where for<'de> T: Deserialize<'de>,

source

pub fn build(self) -> DispatchBlocking<T>

source

pub fn send(self) -> GraphResult<GraphResponse<T>>

source

pub fn json<U>(self) -> GraphResult<GraphResponse<U>>where for<'de> U: Deserialize<'de>,

source§

impl<'a> IntoResponseBlocking<'a, NextLink>

source

pub fn json<V>(self) -> GraphResult<GraphResponse<Vec<V>>>where for<'de> V: Deserialize<'de>,

Gets all next link calls in one response.

This method will get the next link url of the original response and then continue calling next link requests until there are no more left returning all response bodies in a single Vec.

This method make block for long periods of time if there are many next link values.

source§

impl<'a> IntoResponseBlocking<'a, UploadSessionClient<BlockingHttpClient>>

source§

impl<'a> IntoResponseBlocking<'a, NoContent>

source§

impl<'a, T> IntoResponseBlocking<'a, DeltaPhantom<T>>where for<'de> T: Deserialize<'de> + 'static + Send + ODataNextLink + Clone,

source

pub fn build(self) -> DispatchDelta<T, RequestBuilder>

source

pub fn send(self) -> Receiver<Delta<T>>

source§

impl<'a> IntoResponseBlocking<'a, BlockingDownload>

source

pub fn download<P: AsRef<Path>>(self, path: P) -> GraphResult<BlockingDownload>