Class StatelessClient
- Namespace
- Supabase
- Assembly
- Supabase.dll
A Static class representing a Supabase Client.
public static class StatelessClient
- Inheritance
-
StatelessClient
- Inherited Members
Methods
From<T>(string, string, SupabaseOptions?)
Gets the Postgrest client to prepare for a query.
public static SupabaseTable<T> From<T>(string supabaseUrl, string supabaseKey, SupabaseOptions? options = null) where T : BaseModel, new()
Parameters
supabaseUrl
stringsupabaseKey
stringoptions
SupabaseOptions
Returns
Type Parameters
T
Functions(string, string, SupabaseOptions?)
Supabase Edge functions allow you to deploy and invoke edge functions.
public static IFunctionsClient Functions(string supabaseUrl, string supabaseKey, SupabaseOptions? options = null)
Parameters
supabaseUrl
stringsupabaseKey
stringoptions
SupabaseOptions
Returns
GetAuthOptions(string, string?, SupabaseOptions?)
Returns an instance of ClientOptions given a provided url and key.
public static ClientOptions GetAuthOptions(string supabaseUrl, string? supabaseKey = null, SupabaseOptions? options = null)
Parameters
supabaseUrl
stringsupabaseKey
stringoptions
SupabaseOptions
Returns
GetRestOptions(string?, SupabaseOptions?)
Returns an instance of ClientOptions for a given supabase key.
public static ClientOptions GetRestOptions(string? supabaseKey = null, SupabaseOptions? options = null)
Parameters
supabaseKey
stringoptions
SupabaseOptions
Returns
Rpc(string, string, string, Dictionary<string, object>, SupabaseOptions?)
Runs a remote procedure.
public static Task<BaseResponse> Rpc(string supabaseUrl, string supabaseKey, string procedureName, Dictionary<string, object> parameters, SupabaseOptions? options = null)
Parameters
supabaseUrl
stringsupabaseKey
stringprocedureName
stringparameters
Dictionary<string, object>options
SupabaseOptions
Returns
Storage(string, string?, SupabaseOptions?)
Supabase Storage allows you to manage user-generated content, such as photos or videos.
public static IStorageClient<Bucket, FileObject> Storage(string supabaseUrl, string? supabaseKey = null, SupabaseOptions? options = null)
Parameters
supabaseUrl
stringsupabaseKey
stringoptions
SupabaseOptions