Skip to content

Commit

Permalink
Updated documentation for compat to include new database APIs (#6252)
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesht authored May 11, 2022
1 parent aa44d52 commit c424340
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/firebase/compat/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6018,6 +6018,20 @@ declare namespace firebase.database {
* ```
*/
app: firebase.app.App;
/**
* Additional methods for debugging and special cases.
*
*/
INTERNAL: {
/**
* Force the use of WebSockets instead of long polling.
*/
forceWebSockets: () => void;
/**
* Force the use of long polling instead of WebSockets. This will be ignored if the WebSocket protocol is used in `databaseURL`.
*/
forceLongPolling: () => void;
};
/**
* Modify this instance to communicate with the Realtime Database emulator.
*
Expand Down

0 comments on commit c424340

Please sign in to comment.