ex_gram v0.8.0 ExGram.Adapter behaviour View Source

Link to this section Summary

Link to this section Types

Link to this type

result_request()

View Source
result_request() :: {:ok, map()} | {:error, ExGram.Error.t()}
Link to this type

verb()

View Source
verb() :: :post | :get

Link to this section Callbacks

Link to this callback

request(verb, path, body)

View Source
request(verb(), path(), body()) :: result_request()