Instead of Passing the URL to the transport module and then opening and closing the connection there, the connection is now opened as soon as the API is initialized. This will remove the overhead of opening and closing the connection again and again.
However, the connection will have to be explicitly closed by calling api.close()
Instead of Passing the URL to the transport module and then opening and closing the connection there, the connection is now opened as soon as the API is initialized. This will remove the overhead of opening and closing the connection again and again.
However, the connection will have to be explicitly closed by calling
api.close()