View Source Api2pdf.ClientBehaviour behaviour (Api2pdf v0.1.1)

Link to this section Summary

Link to this section Callbacks

Link to this callback

get_request(url, options)

View Source
@callback get_request(url :: String.t(), options :: keyword()) :: {:error, any()} | map()
Link to this callback

post_request(url, payload, options)

View Source
@callback post_request(url :: String.t(), payload :: struct(), options :: keyword()) ::
  {:error, any()} | map()