#pragma once #include #include #include #include #include namespace larra::xmpp::iq { struct Bind { static constexpr auto kDefaultName = "bind"; static constexpr auto kDefaultNamespace = "urn:ietf:params:xml:ns:xmpp-bind"; std::optional jid; friend auto operator<<(xmlpp::Element* element, const Bind& bind) -> void; [[nodiscard]] static auto Parse(xmlpp::Element* element) -> Bind; }; using SetBind = Set; using ResultBind = Result; } // namespace larra::xmpp::iq