File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
firebase-functions/ktx/src/main/kotlin/com/google/firebase/functions/ktx Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,14 @@ class FirebaseFunctionsKtxRegistrar : ComponentRegistrar {
49
49
listOf (LibraryVersionComponent .create(LIBRARY_NAME , BuildConfig .VERSION_NAME ))
50
50
}
51
51
52
+ /* * Returns a reference to the Callable HTTPS trigger with the given name and call options. */
52
53
fun FirebaseFunctions.getHttpsCallable (name : String , init : HttpsCallableOptions .Builder .() -> Unit ) : HttpsCallableReference {
53
54
val builder = HttpsCallableOptions .Builder ()
54
55
builder.init ()
55
56
return getHttpsCallable(name, builder.build())
56
57
}
57
58
59
+ /* * Returns a reference to the Callable HTTPS trigger with the given URL and call options. */
58
60
fun FirebaseFunctions.getHttpsCallableFromUrl (url : URL , init : HttpsCallableOptions .Builder .() -> Unit ) : HttpsCallableReference {
59
61
val builder = HttpsCallableOptions .Builder ()
60
62
builder.init ()
You can’t perform that action at this time.
0 commit comments