pub trait RequestPost: Request {
    type Body: HelixRequestBody;

    fn create_request(
        &self,
        body: Self::Body,
        token: &str,
        client_id: &str
    ) -> Result<Request<Bytes>, CreateRequestError> { ... } fn parse_response<B: Into<Bytes>>(
        request: Option<Self>,
        uri: &Uri,
        response: Response<B>
    ) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestPostError>
    where
        Self: Sized
, { ... } fn parse_inner_response(
        request: Option<Self>,
        uri: &Uri,
        response: &str,
        status: StatusCode
    ) -> Result<Response<Self, <Self as Request>::Response>, HelixRequestPostError>
    where
        Self: Sized
, { ... } }
Available on crate feature helix only.
Expand description

Helix endpoint POSTs information

Required Associated Types

Body parameters

Provided Methods

Create a http::Request from this Request in your client

Parse response.

Notes

Pass in the request to enable pagination if supported.

Parse a response string into the response.

Implementors