// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include #include namespace sdesktop::endpoints { auto NullEndpoint::handle(Context &context) -> void { context.setResponseStatus(http::Code::BadRequest); sender::putToSendQueue(context.createSimpleResponse()); LOG_DEBUG("Unknown Endpoint #%d", static_cast(context.getEndpoint())); } } // namespace sdesktop::endpoints