View Source Plausible.HTTPClient.Interface behaviour (Plausible v0.0.1)

Summary

Types

Callbacks

@callback get(url()) :: response()
@callback get(url(), headers()) :: response()
Link to this callback

get(url, headers, params)

View Source
@callback get(url(), headers(), params()) :: response()
Link to this callback

post(url, headers, params)

View Source
@callback post(url(), headers(), params()) :: response()
Link to this callback

post(url, headers, params, finch_request_opts)

View Source
@callback post(url(), headers(), params(), finch_request_opts()) :: response()