Interface IFunctionsClient
- Namespace
- Supabase.Functions.Interfaces
- Assembly
- Supabase.Functions.dll
Represents a contract for a Supabase Functions Client
public interface IFunctionsClient : IGettableHeaders
- Inherited Members
-
IGettableHeaders.GetHeaders
Methods
Invoke(string, string?, InvokeFunctionOptions?)
Invokes a function given a URL and access token. Returns the string content.
Task<string> Invoke(string url, string? token = null, Client.InvokeFunctionOptions? options = null)
Parameters
url
stringtoken
stringoptions
Client.InvokeFunctionOptions
Returns
Invoke<T>(string, string?, InvokeFunctionOptions?)
Invokes a function given a URL and access token. Returns a typed response (should be a JSON.net parsable object)
Task<T?> Invoke<T>(string url, string? token = null, Client.InvokeFunctionOptions? options = null) where T : class
Parameters
url
stringtoken
stringoptions
Client.InvokeFunctionOptions
Returns
- Task<T>
Type Parameters
T
RawInvoke(string, string?, InvokeFunctionOptions?)
Invokes a function given a URL and access token. Returns the raw HTTP response.
Task<HttpContent> RawInvoke(string url, string? token = null, Client.InvokeFunctionOptions? options = null)
Parameters
url
stringtoken
stringoptions
Client.InvokeFunctionOptions