supabase_potion
▼
Project version
v0.6.1
v0.6.0
v0.5.1
v0.5.0
v0.4.1
v0.4.0
v0.3.7
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
Pages
Modules
API Reference
Modules
Supabase Potion
Getting Started
Changelog
[0.6.0] - 2025-01-10
[0.5.1] - 2024-09-21
[0.5.0] - 2024-09-21
[0.4.1] - 2024-08-30
[0.4.0] - 2024-08-30
[0.3.7] - 2024-05-14
[0.3.6] - 2024-04-28
[0.3.5] - 2024-04-21
[0.3.4] - 2024-04-21
[0.3.3] - 2024-04-21
[0.3.2] - 2024-04-16
[0.3.1] - 2024-04-15
[0.3.0] - 2023-11-20
[0.2.3] - 2023-10-11
[0.2.2] - 2023-10-10
[0.2.1] - 2023-10-10
[0.2.0] - 2023-10-05
[0.1.0] - 2023-09-18
Supabase
Sections
Starting a Client
Acknowledgements
Summary
Types
result/1
service/0
Functions
init_client/3
init_client!/3
Supabase.Client
Sections
Usage
Examples
Summary
Types
options/0
t/0
Functions
changeset/1
update_access_token/2
Supabase.Client.Auth
Sections
Fields
Summary
Types
params/0
t/0
Functions
changeset/2
Supabase.Client.Behaviour
Summary
Callbacks
get_client/0
get_client/1
init/0
set_auth/2
Supabase.Client.Db
Sections
Fields
Summary
Types
params/0
t/0
Functions
changeset/2
Supabase.Client.Global
Sections
Fields
Summary
Types
params/0
t/0
Functions
changeset/2
Supabase.Error
Sections
Fields
Example
Custom Error Handling
Summary
Types
t/0
Callbacks
from/2
Functions
humanize_error_code/1
make_default_http_metadata/1
new/1
Supabase.Fetcher
Sections
Key Features
Key Components
Example Usage
Streaming
Custom Decoders and Error Parsers
Notes
Summary
Types
body/0
headers/0
method/0
query/0
response/0
status/0
url/0
Functions
merge_headers/2
request/2
request_async/2
stream/3
upload/3
Supabase.Fetcher.Adapter
Summary
Types
request_opts/0
response/0
Callbacks
request/2
request_async/2
stream/2
stream/3
upload/3
Functions
not_implemented_error/3
Supabase.Fetcher.Adapter.Finch
Supabase.Fetcher.Behaviour
Summary
Types
on_response/0
on_response_input/0
Callbacks
request/1
request_async/1
stream/1
stream/2
upload/2
Supabase.Fetcher.BodyDecoder
Summary
Callbacks
decode/2
Supabase.Fetcher.JSONDecoder
Summary
Functions
decode/2
Supabase.Fetcher.Request
Sections
Key Features
Key Components
Example Usage
Custom Decoders and Error Parsers
Notes
Summary
Types
options/0
t/0
Functions
get_header/3
get_query_param/3
merge_query_param/4
merge_req_header/4
new/2
with_auth_url/2
with_body/2
with_body_decoder/3
with_database_url/2
with_error_parser/2
with_functions_url/2
with_headers/2
with_http_client/2
with_method/2
with_query/2
with_realtime_url/2
with_storage_url/2
Supabase.Fetcher.Response
Summary
Types
t/0
Functions
decode_body/3
get_header/2
get_header/3
Supabase.Fetcher.ResponseAdapter
Summary
Types
t/0
Functions
from/1
Supabase.HTTPErrorParser
Summary
Functions
from/2
SupabasePotion.Client
Summary
Functions
child_spec/1
get_client/1
init/0
set_auth/2
start_link/1
Exceptions
Supabase.MissingSupabaseConfig
Search documentation of supabase_potion
Settings
Supabase.Fetcher.JSONDecoder
(supabase_potion v0.6.1)
The default body decoder to HTTP responses
Summary
Functions
decode(response, opts \\ [])
Tries to decode the response body as JSON
Functions
decode(response, opts \\ [])
Tries to decode the response body as JSON
×