useEmulator

actual fun useEmulator(host: String, port: Int)(source)
expect fun useEmulator(host: String, port: Int)(source)

Modifies this FirebaseFunctions instance to communicate with the Cloud Functions emulator.

Note: Call this method before using the instance to do any functions operations.

Parameters

host

the emulator host (for example, 10.0.2.2)

port

the emulator port (for example, 5001)

actual fun useEmulator(host: String, port: Int)(source)
actual fun useEmulator(host: String, port: Int)(source)
actual fun useEmulator(host: String, port: Int)(source)