Swift: Functions
Invoke your deployed functions with the Swift SDK.
Invoke your deployed functions. Every call runs as the client's signed-in user, so your project's policies and row-level security apply. Types and members are listed in source order; each one links to its HTTP endpoint where it maps to one.
#Types and members
SovariaFunctions
Call the project's deployed functions the way an app does: POST /functions/v1/{name} with the signed-in user's token (or the anon key for public functions).
public final class SovariaFunctions: @unchecked SendableSovariaFunctions.invoke
public func invoke(_ name: String, body: Any? = nil, headers: [String: String]? = nil) async throws -> Any?