Currently ZeroNet Supports websocket and html rendering, while on web these are sufficient, for native apps(apps which are not run on browsers), these are less efficient, suppose if you want to connect to site you need to render the site to get wrapper key and connect to websocket and get content from the site.
Instead I propose to add protocols like REST Api, which can also be used on browser side as well as native side. Further, unless you need real-time updates websocket is less efficient than REST API, since it need to persist connection between client and server.
Currently ZeroNet Supports websocket and html rendering, while on web these are sufficient, for native apps(apps which are not run on browsers), these are less efficient, suppose if you want to connect to site you need to render the site to get wrapper key and connect to websocket and get content from the site. Instead I propose to add protocols like REST Api, which can also be used on browser side as well as native side. Further, unless you need real-time updates websocket is less efficient than REST API, since it need to persist connection between client and server.