Shopify.GraphQL.Http behaviour (shopify_graphql v2.1.0)
Link to this section Summary
Link to this section Types
Link to this type
response_t()
@type response_t() :: %{ body: String.t(), headers: Shopify.GraphQL.http_headers_t(), status_code: Shopify.GraphQL.http_status_code_t() }
Link to this section Callbacks
Link to this callback
send( request, opts )
@callback send( request :: Shopify.GraphQL.Request.t(), opts :: any() ) :: {:ok, response_t()} | {:error, response_t() | any()}