Supabase.FetcherBehaviour behaviour (supabase_potion v0.5.1)
Defines Supabase HTTP Clients callbacks
Summary
Types
Link to this type
body()
Link to this type
headers()
Link to this type
method()
@type method() :: :get | :post
Link to this type
opts()
@type opts() :: [{:resolve_json, boolean()}] | []
Link to this type
reason()
Link to this type
response()
Link to this type
result()
Link to this type
url()
Callbacks
Link to this callback
delete(url, body, headers, opts)
Link to this callback
get(url, body, headers, opts)
Link to this callback
head(url, body, headers, opts)
Link to this callback
patch(url, body, headers, opts)
Link to this callback
post(url, body, headers, opts)
Link to this callback
put(url, body, headers, opts)
Link to this callback
stream(url, headers, keyword)
@callback stream(url(), headers(), keyword()) :: {:ok, stream} | {:error, reason()} when stream: Enumerable.t()
Link to this callback