Caylir.Graph.Response

Helper module to decode graph responses.

Source

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

parse(arg1)

Specs:

Parses a response.

If the response contains a body it is automatically JSON decoded.

Source