Skip to main content

nhost_functions_dart 2.0.12 copy "nhost_functions_dart: ^2.0.12" to clipboard
nhost_functions_dart: ^2.0.12 copied to clipboard

Dart client for calling Nhost serverless functions with authenticated HTTP requests.

Nhost Functions Dart SDK #

Pub nhost_dart tests

Nhost Functions API for Dart

Getting Started #

Get your subdomain and region from nhost dashboard

import 'package:nhost_functions_dart/nhost_functions_dart.dart';

void main() async {
    final functions = NhostFunctionsClient(url: 'Your Service URL');

  print('Running serverless function /hello');
  final helloResponse = await functions.callFunction(
    '/hello',
    query: {'name': 'Universe'},
  );
  print('Response: ${helloResponse.body}');
}

Latest Release #

dart pub add nhost_functions_dart
1
likes
160
points
691
downloads

Documentation

API reference

Publisher

verified publishernhost.io

Weekly Downloads

Dart client for calling Nhost serverless functions with authenticated HTTP requests.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser, logging, nhost_sdk

More

Packages that depend on nhost_functions_dart