# Firebase.Functions.HttpsCallableReference

Represents a reference to a Google Cloud [Functions](https://firebase.google.com/docs/reference/unity/namespace/firebase/functions#namespace_firebase_1_1_functions) HTTPS callable function.

## Summary

Represents a reference to a Google Cloud [Functions](https://firebase.google.com/docs/reference/unity/namespace/firebase/functions#namespace_firebase_1_1_functions) HTTPS callable function. (see [Google Cloud Functions](https://cloud.google.com/functions/))

| ### Properties ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-reference#class_firebase_1_1_functions_1_1_https_callable_reference_1a668f69adbc317d8af76c00ae15c55be7` | `https://firebase.google.com/docs/reference/unity/class/firebase/functions/firebase-functions#class_firebase_1_1_functions_1_1_firebase_functions` Returns the [FirebaseFunctions](https://firebase.google.com/docs/reference/unity/class/firebase/functions/firebase-functions#class_firebase_1_1_functions_1_1_firebase_functions) service which created this reference. |

| ### Public functions ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-reference#class_firebase_1_1_functions_1_1_https_callable_reference_1a96190a87e3688d4c9909044df490303e()` | `Task< https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-result#class_firebase_1_1_functions_1_1_https_callable_result >` ... |
| `https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-reference#class_firebase_1_1_functions_1_1_https_callable_reference_1a52f9e8fc0c45fe2e0f9c6907fffeb049(object data)` | `Task< https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-result#class_firebase_1_1_functions_1_1_https_callable_result >` ... |
| `https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-reference#class_firebase_1_1_functions_1_1_https_callable_reference_1ad13d117c9c93e3b202effbfa1f99fb92(CancellationToken cancellationToken)` | `IAsyncEnumerable< https://firebase.google.com/docs/reference/unity/class/firebase/functions/stream-response#class_firebase_1_1_functions_1_1_stream_response >` Calls the function and returns a stream of responses. |
| `https://firebase.google.com/docs/reference/unity/class/firebase/functions/https-callable-reference#class_firebase_1_1_functions_1_1_https_callable_reference_1acb84909b6e6ca172c38e03fc146ca575(object data, CancellationToken cancellationToken)` | `IAsyncEnumerable< https://firebase.google.com/docs/reference/unity/class/firebase/functions/stream-response#class_firebase_1_1_functions_1_1_stream_response >` Calls the function with data and returns a stream of responses. |

## Properties

### Functions

```c#
FirebaseFunctions Functions
```
Returns the [FirebaseFunctions](https://firebase.google.com/docs/reference/unity/class/firebase/functions/firebase-functions#class_firebase_1_1_functions_1_1_firebase_functions) service which created this reference.

<br />

| Details ||
|---|---|
| **Returns** | The [FirebaseFunctions](https://firebase.google.com/docs/reference/unity/class/firebase/functions/firebase-functions#class_firebase_1_1_functions_1_1_firebase_functions) service. |

## Public functions

### CallAsync

```c#
Task< HttpsCallableResult > CallAsync()
```
...

<br />

| Details ||
|---|---|
| **Returns** | A Task with the result of the function call. |

### CallAsync

```c#
Task< HttpsCallableResult > CallAsync(
  object data
)
```
...

<br />

Details Parameters `data` The data to pass to the function. **Returns** A Task with the result of the function call.

### StreamAsync

```c#
IAsyncEnumerable< StreamResponse > StreamAsync(
  CancellationToken cancellationToken
)
```
Calls the function and returns a stream of responses.

<br />

| Details ||
|---|---|
| **Returns** | An IAsyncEnumerable yielding [StreamResponse](https://firebase.google.com/docs/reference/unity/class/firebase/functions/stream-response#class_firebase_1_1_functions_1_1_stream_response) objects. |

### StreamAsync

```c#
IAsyncEnumerable< StreamResponse > StreamAsync(
  object data,
  CancellationToken cancellationToken
)
```
Calls the function with data and returns a stream of responses.

<br />

Details Parameters `data` The data to pass to the function. **Returns** An IAsyncEnumerable yielding [StreamResponse](https://firebase.google.com/docs/reference/unity/class/firebase/functions/stream-response#class_firebase_1_1_functions_1_1_stream_response) objects.