mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
21 lines
354 B
C++
21 lines
354 B
C++
#ifndef APRESOLVE_H
|
|
#define APRESOLVE_H
|
|
|
|
#include <string>
|
|
|
|
class ApResolve {
|
|
private:
|
|
std::string getApList();
|
|
|
|
public:
|
|
ApResolve();
|
|
|
|
/**
|
|
* @brief Connects to spotify's servers and returns first valid ap address
|
|
*
|
|
* @return std::string Address in form of url:port
|
|
*/
|
|
std::string fetchFirstApAddress();
|
|
};
|
|
|
|
#endif |