An interface for metadata about how calls should be executed.
Signature:
export interface HttpsCallableOptions
Properties
Property | Type | Description |
---|---|---|
limitedUseAppCheckTokens | boolean | If set to true, uses limited-use App Check token for callable function requests from this instance of Functions. You must use limited-use tokens to call functions with replay protection enabled. By default, this is false. |
timeout | number | Time in milliseconds after which to cancel if there is no response. Default is 70000. |
HttpsCallableOptions.limitedUseAppCheckTokens
If set to true, uses limited-use App Check token for callable function requests from this instance of Functions. You must use limited-use tokens to call functions with replay protection enabled. By default, this is false.
Signature:
limitedUseAppCheckTokens?: boolean;
HttpsCallableOptions.timeout
Time in milliseconds after which to cancel if there is no response. Default is 70000.
Signature:
timeout?: number;