48 std::string
roomId()
const;
73 , std::string _accessToken
75 std::string roomIdOrAlias , immer::array<std::string> serverName = {}, std::optional<std::string> reason = std::nullopt
80 immer::array<std::string> serverName);
82 static BaseJob::Body buildBody(std::string roomIdOrAlias, immer::array<std::string> serverName, std::optional<std::string> reason);
Definition: knocking.hpp:36
bool success() const
Definition: knocking.cpp:77
std::string roomId() const
The knocked room ID.
Definition: knocking.cpp:88
JobResponse(Response r)
Definition: knocking.cpp:74
Knock on a room, requesting permission to join.
Definition: knocking.hpp:30
static constexpr auto needsAuth()
Definition: knocking.hpp:51
KnockRoomJob(std::string serverUrl, std::string _accessToken, std::string roomIdOrAlias, immer::array< std::string > serverName={}, std::optional< std::string > reason=std::nullopt)
Knock on a room, requesting permission to join.
Definition: knocking.cpp:40
static BaseJob::Query buildQuery(immer::array< std::string > serverName)
Definition: knocking.cpp:13
static BaseJob::Body buildBody(std::string roomIdOrAlias, immer::array< std::string > serverName, std::optional< std::string > reason)
Definition: knocking.cpp:22
KnockRoomJob withData(JsonWrap j) &&
Definition: knocking.cpp:60
Definition: basejob.hpp:91
Definition: basejob.hpp:77
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: jsonwrap.hpp:23
Definition: location.hpp:10
Definition: location.hpp:10
Definition: location.hpp:27
Definition: basejob.hpp:50