[][src]Function grin_api::client::post_no_ret_async

pub async fn post_no_ret_async<'_, '_, IN>(
    url: &'_ str,
    api_secret: Option<String>,
    input: &'_ IN
) -> Result<(), Error> where
    IN: Serialize

Helper function to easily issue an async HTTP POST request with the provided JSON object as body on a given URL that returns a future. Handles request building, JSON serialization and deserialization, and response code checking.