Table of Contents

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 string
body Dictionary<string, object>

Returns

Task<string>

String content from invoke

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 string
body 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 string
body Dictionary<string, object>

Returns

Task<HttpContent>

The HTTP Content