Fetches a document and prints its structure for debugging.
Arguments
- url
WebSocket URL of the sync server.
- doc_id
Document ID (base58check encoded string).
- timeout
Timeout in milliseconds. Default 5000.
- tls
(optional) for secure wss:// connections to servers with self-signed or custom CA certificates, a TLS configuration object created by
nanonext::tls_config().- max_depth
Maximum depth to recurse into nested structures. Default 2.