![]() |
BSB Developer Docs
|
API for controlling HTTP web server. More...
#include <toolbox/semver.h>Go to the source code of this file.
Functions | |
| void | web_server_get_api_version (SemVer *version) |
| Get the HTTP API version. | |
| void | web_server_get_api_version_string (FuriString *version_string) |
| Get the HTTP API version string. | |
| bool | web_server_is_api_version_compatible (const SemVer *version) |
| Check if the given version is compatible with the firmware API version. | |
API for controlling HTTP web server.
| void web_server_get_api_version | ( | SemVer * | version | ) |
Get the HTTP API version.
| [out] | version | Pointer to a SemVer structure to hold the value (must be allocated). |
| void web_server_get_api_version_string | ( | FuriString * | version_string | ) |
Get the HTTP API version string.
| [out] | version_string | A string to write the version into. The string should be initialized by the caller. |
| bool web_server_is_api_version_compatible | ( | const SemVer * | version | ) |
Check if the given version is compatible with the firmware API version.
| [in] | version | Pointer to a SemVer structure to be checked against. |
true if the version is compatible, false otherwise