Skip to main content

send_prepared_http_step_with_hooks

Function send_prepared_http_step_with_hooks 

Source
pub async fn send_prepared_http_step_with_hooks<FCancel, FStart, FStartFuture, FSend, FSendFuture, FBody, FBodyFuture>(
    client: &Client,
    prepared: PreparedHttpStep,
    step: &PipelineStep,
    context: &HashMap<String, StepExecutionResult>,
    specs: Option<&[RuntimeSpec]>,
    env_groups: Option<&[RuntimeEnvGroup]>,
    selected_env_group_slug: Option<&str>,
    should_cancel: FCancel,
    on_send_started: FStart,
    on_send_returned: FSend,
    on_body_completed: FBody,
) -> Option<StepExecutionResult>
where FCancel: FnMut() -> bool, FStart: FnMut() -> FStartFuture, FStartFuture: Future<Output = ()>, FSend: FnMut() -> FSendFuture, FSendFuture: Future<Output = ()>, FBody: FnMut() -> FBodyFuture, FBodyFuture: Future<Output = ()>,