Creates a Cloud Functions client with the given app, or returns a pre-existing
instance if one already exists.
\param app The app for the Firebase project.
returns:
A shared Functions instance initialized with the specified FirebaseApp.
Creates a Cloud Functions client with the given app and region, or returns a pre-existing
instance if one already exists.
\param customDomain A custom domain for the HTTP trigger, such as "https //mydomain.com".
returns:
A shared Functions instance initialized with the default FirebaseApp and a custom HTTP trigger domain.
Creates a Cloud Functions client with the given app and region, or returns a pre-existing
instance if one already exists.
\param app The app for the Firebase project.
\param region The region for the HTTP trigger, such as us-central1.
returns:
An instance of Functions with a custom app and region.
Creates a Cloud Functions client with the given app and region, or returns a pre-existing
instance if one already exists.
\param app The app for the Firebase project.
\param customDomain A custom domain for the HTTP trigger, such as https://mydomain.com.
returns:
An instance of Functions with a custom app and HTTP trigger domain.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-10 UTC."],[],[],null,["# FirebaseFunctions Framework Reference\n\nFIRFunctions\n============\n\n\n @interface FIRFunctions : NSObject\n\n`Functions` is the client for Cloud Functions for a Firebase project.\n- `\n ``\n ``\n `\n\n ### [+functions](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functions)\n\n `\n ` \n Creates a Cloud Functions client using the default or returns a pre-existing instance if it already exists.\n\n returns:\n A shared Functions instance initialized with the default `FirebaseApp`. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functions;\n\n- `\n ``\n ``\n `\n\n ### [+functionsForApp:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functionsForApp:)\n\n `\n ` \n Creates a Cloud Functions client with the given app, or returns a pre-existing\n instance if one already exists.\n \\\\param app The app for the Firebase project.\n\n returns:\n A shared Functions instance initialized with the specified `FirebaseApp`. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functionsForApp:(FIRApp *_Nonnull)app;\n\n- `\n ``\n ``\n `\n\n ### [+functionsForRegion:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functionsForRegion:)\n\n `\n ` \n Creates a Cloud Functions client with the default app and given region.\n \\\\param region The region for the HTTP trigger, such as `us-central1`.\n\n returns:\n A shared Functions instance initialized with the default `FirebaseApp` and a custom region. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functionsForRegion:(NSString *_Nonnull)region;\n\n- `\n ``\n ``\n `\n\n ### [+functionsForCustomDomain:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functionsForCustomDomain:)\n\n `\n ` \n Creates a Cloud Functions client with the given app and region, or returns a pre-existing\n instance if one already exists.\n \\\\param customDomain A custom domain for the HTTP trigger, such as \"https //mydomain.com\".\n\n returns:\n A shared Functions instance initialized with the default `FirebaseApp` and a custom HTTP trigger domain. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functionsForCustomDomain:\n (NSString *_Nonnull)customDomain;\n\n- `\n ``\n ``\n `\n\n ### [+functionsForApp:region:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functionsForApp:region:)\n\n `\n ` \n Creates a Cloud Functions client with the given app and region, or returns a pre-existing\n instance if one already exists.\n \\\\param app The app for the Firebase project.\n\n \\\\param region The region for the HTTP trigger, such as `us-central1`.\n\n returns:\n An instance of `Functions` with a custom app and region. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functionsForApp:(FIRApp *_Nonnull)app\n region:(NSString *_Nonnull)region;\n\n- `\n ``\n ``\n `\n\n ### [+functionsForApp:customDomain:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)functionsForApp:customDomain:)\n\n `\n ` \n Creates a Cloud Functions client with the given app and region, or returns a pre-existing\n instance if one already exists.\n \\\\param app The app for the Firebase project.\n\n \\\\param customDomain A custom domain for the HTTP trigger, such as \u003chttps://mydomain.com\u003e.\n\n returns:\n An instance of `Functions` with a custom app and HTTP trigger domain. \n\n #### Declaration\n\n Objective-C \n\n + (FIRFunctions *_Nonnull)functionsForApp:(FIRApp *_Nonnull)app\n customDomain:(NSString *_Nonnull)customDomain;\n\n- `\n ``\n ``\n `\n\n ### [-HTTPSCallableWithName:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(im)HTTPSCallableWithName:)\n\n `\n ` \n Creates a reference to the Callable HTTPS trigger with the given name.\n \\\\param name The name of the Callable HTTPS trigger. \n\n #### Declaration\n\n Objective-C \n\n - (../Classes/FIRHTTPSCallable.html *_Nonnull)HTTPSCallableWithName:(NSString *_Nonnull)name;\n\n- `\n ``\n ``\n `\n\n ### [-HTTPSCallableWithURL:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(im)HTTPSCallableWithURL:)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (../Classes/FIRHTTPSCallable.html * _Nonnull)HTTPSCallableWithURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;\n\n- `\n ``\n ``\n `\n\n ### [-useEmulatorWithHost:port:](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(im)useEmulatorWithHost:port:)\n\n `\n ` \n Changes this instance to point to a Cloud Functions emulator running locally.\n See \u003chttps://firebase.google.com/docs/functions/local-emulator\u003e\n \\\\param host The host of the local emulator, such as \"localhost\".\n\n \\\\param port The port of the local emulator, for example 5005. \n\n #### Declaration\n\n Objective-C \n\n - (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(im)init)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init SWIFT_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [+new](#/c:@M@FirebaseFunctions@objc(cs)FIRFunctions(cm)new)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG(\"-init is unavailable\");"]]