InoDrive / Connection / connect
InoDrive.connect(timeout=None)
Have InoDrive Module attempt to establish a Connection.
Arguments:
• timeout (Number): (Optional) Timeout value in seconds.
Returns: Boolean – True or False Value on successfully establishing a connection.
// Import InoDrive API Library import { InoDriveApiJS } from ( "ck-inodrive-api" ) // Instatiate the API let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false }) // Instantiate InoDrive Object Drive = await InoDriveApi.InoDrive({target:'Name'}) // Attempt to Manually Connect to InoDrive await Drive.connect()