Jump to top

HttpsCallable

interface

An HttpsCallable is a reference to a "callable" http trigger in Google Cloud Functions.

Example
// Create a HttpsCallable instance
const instance = firebase.functions().httpsCallable('order');

try {
 const response = await instance({
   id: '12345',
 });
} catch (e) {
 console.error(e);
}