pub fn post<Q: GraphQLQuery>(
        &self,
        variables: Q::Variables,
        header_map: &HashMap<String, String>,
    ) -> Result<Q::ResponseData, RoverClientError> {
        let header_map = build_headers(header_map)?;
        let response = self.execute::<Q>(variables, header_map)?;
        GraphQLClient::handle_response::<Q>(response)
    }
/// Client method for making a GraphQL request.
///
/// Takes one argument, `variables`. Returns an optional response.
Client method for making a GraphQL request.
Takes one argument, `variables`. Returns an optional response.
Client method for making a GraphQL request . Takes one argument ` variables ` . Returns an optional response .
pub fn post<Q: GraphQLQuery>(
        &self,
        variables: Q::Variables,
        header_map: &HashMap<String, String>,
    ) -> Result<Q::ResponseData, RoverClientError> {
        let header_map = build_headers(header_map)?;
        let response = self.execute::<Q>(variables, header_map)?;
        GraphQLClient::handle_response::<Q>(response)
    }
pub fn post < Q : GraphQLQuery > ( & self , variables : Q :: Variables , header_map : & HashMap < String , String > , ) -> Result < Q :: ResponseData , RoverClientError > { let header_map = build_headers ( header_map ) ? ; let response = self . execute :: < Q > ( variables , header_map ) ? ; GraphQLClient :: handle_response :: < Q > ( response ) }
Client method for making a GraphQL request.
Client method for making a GraphQL request .
&self
variables
Q::Variables
header_map
&HashMap<String, String>