Caylir.Graph.Response
Helper module to decode graph responses.
Summary↑
parse(arg1) | Parses a response |
Types ↑
response :: {:ok, term} | {:error, term}
result :: {:ok, integer} | {:ok, integer, Poison.Parser.t} | {:ok, integer, term} | {:error, term}
Functions
Specs:
Parses a response.
If the response contains a body it is automatically JSON decoded.