supabase_functions library
A dart client library for Supabase Edge Functions.
Classes
- AsyncJsonCodec
- Encodes and decodes JSON asynchronously, so that a large payload does not block the calling isolate for long.
- ByteStream
- A stream of chunks of bytes representing a single piece of data.
- FunctionsClient
- Client for invoking Supabase Edge Functions.
- FunctionsResponse
- The response of a successful FunctionsClient.invoke call.
- MultipartFile
-
A file to be uploaded as part of a
MultipartRequest.
Enums
- HttpMethod
- An HTTP request method.
Mixins
- SupabaseApiException
- Mixed into the exceptions that report a response from a Supabase service.
- SupabaseTransportException
- Mixed into the exceptions thrown when a request never received a response, because the connection failed or the request timed out.
Extension Types
- FunctionsRegion
- The region an Edge Function is invoked in.
Exceptions / Errors
- AccessTokenException
-
Thrown when the
accessTokencallback a client was created with fails. - FunctionsApiException
- Thrown when the Edge Function responded with a non-2xx status code.
- FunctionsException
- Thrown when invoking an Edge Function fails.
- FunctionsFetchException
- Thrown when the request to the Edge Function could not be sent, for example because of a network or transport failure, or because the request body could not be encoded.
- FunctionsRelayException
-
Thrown when the Supabase relay returns an error while invoking the Edge
Function, indicated by the
x-relay-errorresponse header. - RequestAbortedException
- Thrown when an HTTP request is aborted.
- SupabaseException
- Base class for the exceptions thrown by the Supabase client packages.