Macfly.HTTP behaviour (macfly v0.2.4)

Summary

Callbacks

Link to this callback

get(url, headers)

@callback get(url :: URI.t(), headers :: Keyword.t()) :: {atom(), any()}
Link to this callback

post(url, body, headers)

@callback post(url :: URI.t(), body :: String.t(), headers :: Keyword.t()) ::
  {atom(), any()}

Functions

Link to this function

get(url, headers)

Link to this function

post(url, body, headers)