disconnect

Export, used to force connection disconnect.

Reference

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

Usage example

client.lua
  local success, errorMessage = exports.fd_laptop:disconnect()