What is the best way to read size of a request object sent to Firebase Callable Function?
I would like to take actions based on the size of request sent from a client but the only options I see are:
- calculating size of the object in a custom function as suggested here.
- using the object-sizeof npm package.
Is there any build in Firebase solution to this?