[ Web Proxy ]
URL:
Viewing: https://pub.dev/packages/firebase_functions [Back]  [Original]

firebase_functions | Dart package

Cloud Functions for Dart with support for the Firebase Admin SDK, Cloud Storage and Firestore

More...

Dart Firebase SDK for Cloud Functions #

Tests [Tests] pub package [pub package]

The firebase_functions package provides an SDK for defining Cloud Functions for Firebase in Dart.

Cloud Functions is a hosted, private, and scalable environment where you can run code. The Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.

Learn more #

Learn more about the Firebase SDK for Cloud Functions in the Firebase documentation or check out our samples.

Here are some resources to get help:

If the official documentation doesn't help, try asking through our official support channels.

Usage #

import 'package:firebase_functions/firebase_functions.dart';

void main(List<String> args) {
  runFunctions((firebase) {
    firebase.https.onRequest(
      name: 'hello',
      (request) async {
        return Response.ok('Hello from Dart!');
      },
    );
  });
}

Status: Experimental #

This package provides a Dart implementation of Firebase Cloud Functions. Only HTTPS triggers are currently supported in production. Other trigger types are experimental and have varying levels of support.

To follow ongoing development of Firestore and other background triggers in production, see the Firebase UserVoice request.

22
likes
160
points
3.73k
downloads

Documentation

API reference

Publisher

verified publisher [verified publisher]firebase.google.com

Weekly Downloads

Cloud Functions for Dart with support for the Firebase Admin SDK, Cloud Storage and Firestore

Repository (GitHub)
View/report issues
Contributing

License

[]Apache-2.0 (license)

Dependencies

analyzer, build, dart_jsonwebtoken, firebase_admin_sdk, glob, google_cloud_firestore, google_cloud_logging, google_cloud_shelf, http, meta, protobuf, shelf, source_gen, stack_trace, yaml_edit

More

Packages that depend on firebase_functions

Metadata

22
likes
160
points
3.73k
downloads

Documentation

API reference

Publisher

verified publisher [verified publisher]firebase.google.com

Weekly Downloads

Cloud Functions for Dart with support for the Firebase Admin SDK, Cloud Storage and Firestore

Repository (GitHub)
View/report issues
Contributing

License

[]Apache-2.0 (license)

Dependencies

analyzer, build, dart_jsonwebtoken, firebase_admin_sdk, glob, google_cloud_firestore, google_cloud_logging, google_cloud_shelf, http, meta, protobuf, shelf, source_gen, stack_trace, yaml_edit

More

Packages that depend on firebase_functions

Back

Dart languageReport packagePolicyTermsAPI TermsSecurityPrivacyHelpRSS [RSS]bug report [bug report]
Web Proxy Viewer  |  New URL  |  Original Page