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

pub fn post_no_ret_async<IN>(
    url: &str,
    api_secret: Option<String>,
    input: &IN
) -> ClientResponseFuture<()> 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.