BridgeEx.Graphql.Utils (bridge_ex v0.3.0-rc.2) View Source
Misc utils for handling Graphql requests/responses.
Link to this section Summary
Link to this section Types
Specs
Specs
Link to this section Functions
Specs
decode_http_response( {:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()} | {:error, HTTPoison.Error.t()}, String.t() ) :: client_response()
Specs
Specs
parse_response(graphql_response()) :: client_response()
Specs
retry( {:ok, String.t()} | {:error, Jason.EncodeError.t() | Exception.t()}, (any() -> {:error, String.t()} | {:ok, any()}), integer() ) :: client_response()