connectTo

Export, used to force connection to network

Reference

---@param ssid string
---@param password? string
---@return boolean, string | nil
function connectTo(ssid, password) end

Usage example

client.lua
  local success, errorMessage = exports.fd_laptop:connectTo('testing_network', '123456')