@startuml Class Diagram


Class API {
    - user: String
    - password: String
    - serveurHost: String
    - https: bool
    - client: WiFiEspClient*
    - connect(): bool
    + API(user: String, password: String, host: String, https: bool = true)
    + wifiBegin(wifiId: String, wifiPass: String, espSerial: Stream*): bool
    + sendValue(val: String, pouvelleID: String, unit: String, full: bool): bool
}

Class Program {
    + Program()
    + setup()
}




@enduml