Supabase.Functions
Function that can be set to return dynamic headers.
Headers specified in the method parameters will ALWAYS take precedence over headers returned by this function.
Initializes a functions client
Returns an response, allowing for coersion into Streams, Strings, and byte[]
Function Name, will be appended to BaseUrl
Anon Key.
Options
Invokes a function and returns the Text content of the response.
Function Name, will be appended to BaseUrl
Anon Key.
Options
Invokes a function and returns a JSON Deserialized object according to the supplied generic Type
Function Name, will be appended to BaseUrl
Anon Key.
Options
Internal request handling
Options that can be supplied to a function invocation.
Note: If Headers.Authorization is set, it can be later overriden if a token is supplied in the method call.
Headers to be included on the request.
Body of the Request
Timout value for HttpClient Requests, defaults to 100s.
https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.timeout?view=net-8.0#remarks
A hint as to why a request failed.
A failure reason
An unknown reason
Request was not authorized
An internal error occurred, check your supabase logs.
Attempts to detect a reason given an exception.
An Exception thrown within
The Http Response
The Http response content
The Http Status code
A parsed reason for a given failure
Attempts to detect a reason for this exception
Represents a contract for a Supabase Functions Client
Invokes a function given a URL and access token. Returns the string content.
Invokes a function given a URL and access token. Returns a typed response (should be a JSON.net parsable object)
Invokes a function given a URL and access token. Returns the raw HTTP response.
A wrapper class from which all Responses derive.
The response message
The response content.