Files
firebase-js-sdk/docs-devsite/ai.sessionresumptionconfig.md

1.5 KiB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

SessionResumptionConfig interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Configuration for the session resumption mechanism.

When included in the session setup, the server will send LiveSessionResumptionUpdate messages in the response stream.

Signature:

export interface SessionResumptionConfig 

Properties

Property Type Description
handle string (Public Preview) The session resumption handle of the previous session to restore.If not present, a new session will be started.

SessionResumptionConfig.handle

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The session resumption handle of the previous session to restore.

If not present, a new session will be started.

Signature:

handle?: string;