Skip to main content

GithubWorkflowDispatchHttpClient

Trait GithubWorkflowDispatchHttpClient 

Source
pub trait GithubWorkflowDispatchHttpClient {
    // Required method
    fn post(
        &mut self,
        request: &GithubWorkflowDispatchHttpRequest,
    ) -> Result<GithubWorkflowDispatchHttpResponse, GithubWorkflowDispatchHttpError>;
}
Expand description

Injectable no-auto-redirect HTTPS adapter for workflow dispatch.

Required Methods§

Source

fn post( &mut self, request: &GithubWorkflowDispatchHttpRequest, ) -> Result<GithubWorkflowDispatchHttpResponse, GithubWorkflowDispatchHttpError>

Send one fixed-origin API request and return a bounded response.

§Errors

Returns only redacted transport categories; credentials, endpoints, bodies, response URLs, and underlying diagnostics must not surface.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§