Interface ISupabaseFunctions
- Namespace
- Supabase.Interfaces
- Assembly
- Supabase.dll
Contract representing a wrapper Supabase.Functions client.
public interface ISupabaseFunctions
Methods
Invoke(string, Dictionary<string, object>?)
Invoke a supabase function
Task<string> Invoke(string functionName, Dictionary<string, object>? body = null)
Parameters
functionName
stringbody
Dictionary<string, object>
Returns
Invoke<T>(string, Dictionary<string, object>?)
Invoke a supabase function and deserialize data to a provided model.
Task<T?> Invoke<T>(string functionName, Dictionary<string, object>? body = null) where T : class
Parameters
functionName
stringbody
Dictionary<string, object>
Returns
- Task<T>
The deserialized Model
Type Parameters
T
Model representing data that is compatible with Newtonsoft
RawInvoke(string, Dictionary<string, object>?)
Invoke a supabase function and return the HttpContent for the developer to parse.
Task<HttpContent> RawInvoke(string functionName, Dictionary<string, object>? body = null)
Parameters
functionName
stringbody
Dictionary<string, object>
Returns
- Task<HttpContent>
The HTTP Content