mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-13 19:44:32 -04:00
25 lines
377 B
C++
25 lines
377 B
C++
#include "http.hpp"
|
|
|
|
namespace dusk::http {
|
|
|
|
bool available() noexcept {
|
|
return false;
|
|
}
|
|
|
|
Backend backend() noexcept {
|
|
return Backend::None;
|
|
}
|
|
|
|
const char* backend_name() noexcept {
|
|
return "none";
|
|
}
|
|
|
|
Result get(const Request&) {
|
|
return {
|
|
.error = Error::NoBackend,
|
|
.message = "No HTTP backend is available",
|
|
};
|
|
}
|
|
|
|
} // namespace dusk::http
|