Documentation for Firebase WebSocket Protocol

Is there some kind of documentation outlining the Firebase WebSocket protocol (used in Firebase live database)? I know the sources have been open recently (e.g. https://github.com/firebase/firebase-js-sdk ) but I was wondering if there is something easily readable so I have no read / debug code.

Any documents for debugging the code locally will also be examined.

+3


source to share


1 answer


firebaser here

The Firebase database wiring protocol is currently undocumented.



But since the questions are about debugging the wired protocol, it might be helpful to point out how to enable the debug log (which shows traffic over sockets):

  • JS: firebase.database.enableLogging(true);

  • iOS: [FIRDatabase setLoggingEnabled:YES];

  • Android: FirebaseDatabase.getInstance().setLogLevel(Logger.Level.DEBU‌​G);

+6


source







All Articles