Do not try to reconnect when the frontend application is stopping. The browser is navigating away from this page.
Create the main connection that is used for multiplexing all service channels.
Create a proxy object to remote interface of T type over a web socket connection for the given path and proxy factory.
Create a proxy object to remote interface of T type over a web socket connection for the given path.
An optional target can be provided to handle notifications and requests from a remote side.
Path for Socket.io to make its requests to.
Creates a web socket for the given url
The handler to reach in the backend.
Install a connection handler for the given path.
Create a proxy object to remote interface of T type over an electron ipc connection for the given path and proxy factory.
An optional target can be provided to handle notifications and requests from a remote side.
Customized connection provider between the frontend and the backend in electron environment. This customized connection provider makes sure the websocket connection does not try to reconnect once the electron-browser window is refreshed. Otherwise, backend resources are not disposed.