useEmulator

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

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)
actual fun useEmulator(host: String, port: Int)
actual fun useEmulator(host: String, port: Int)