NhostFunctionsClient class

Client for calling Nhost serverless functions.

See https://docs.nhost.io/platform/serverless-functions for more info.

Constructors

NhostFunctionsClient({required String url, UserSession? session, Client? httpClient})
httpClientOverride (optional) can be provided in order to customize the requests made by the Nhost APIs, which can be useful for proxy configuration and debugging.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callFunction(String url, {Map<String, String?>? query, Map<String, dynamic>? jsonBody, String httpMethod = 'post'}) Future<Response>
Invokes the serverless function at url.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited