def connect(self):
        self._build_socket()
        self._connect_socket()
        self._build_file_socket()
        self._send_connect_msg()
Connect will attempt to connect to the NATS server. The url can
dataset/ETHPy150Open mcuadros/pynats/pynats/connection.py/Connection.connect