|
template<class Exec > |
| AsioStdFileHandler (Exec) -> AsioStdFileHandler< Exec > |
|
bool | operator== (BaseJob a, BaseJob b) |
|
bool | operator!= (BaseJob a, BaseJob b) |
|
bool | operator== (EmptyBody, EmptyBody) |
|
bool | isBodyJson (Body body) |
|
bool | operator== (Response a, Response b) |
|
bool | operator== (BaseJob::Get, BaseJob::Get) |
|
bool | operator== (BaseJob::Post, BaseJob::Post) |
|
bool | operator== (BaseJob::Put, BaseJob::Put) |
|
bool | operator== (BaseJob::Delete, BaseJob::Delete) |
|
template<class T > |
void | addToQuery (BaseJob::Query &q, std::string name, T &&arg) |
|
template<class T > |
void | addToQueryIfNeeded (BaseJob::Query &q, std::string name, T &&arg) |
|
template<class T , class V > |
constexpr auto | jsonAtOr (T &&key, V &&defaultValue) |
|
template<class Cursor , class ... Cursors> |
constexpr auto | allCursors (Cursor &&first, Cursors &&...cursors) |
|
auto | allCursors () |
|
template<class Cursor , class ... Cursors> |
constexpr auto | anyCursor (Cursor &&first, Cursors &&...cursors) |
|
auto | anyCursor () |
|
bool | operator== (const Event &a, const Event &b) |
|
bool | operator!= (const Event &a, const Event &b) |
|
template<class T > |
auto | getIn (T &&item) |
|
template<class ImmerT , class K , class ... Keys> |
auto | getIn (ImmerT &&container, K &&key, Keys &&...keys) |
|
template<class T > |
auto | setIn (T, T newVal) |
|
template<class ImmerT , class K > |
auto | setIn (ImmerT container, std::decay_t< decltype(getIn(std::declval< ImmerT >(), std::declval< K >()))> newVal, K &&key) -> std::decay_t< ImmerT > |
|
template<class ImmerT , class K , class ... Keys> |
auto | setIn (ImmerT container, std::decay_t< decltype(getIn(std::declval< ImmerT >(), std::declval< K >(), std::declval< Keys >()...))> newVal, K &&key, Keys &&...keys) -> std::decay_t< ImmerT > |
|
template<class T , class Func > |
auto | updateIn (T oldVal, Func func) -> T |
|
template<class ImmerT , class Func , class ... Keys> |
auto | updateIn (ImmerT container, Func func, Keys &&...keys) -> ImmerT |
|
template<class Jsonish , class Key , class Func > |
bool | hasAtThat (Jsonish &&j, Key &&k, Func &&f) |
|
bool | isNonCompoundCanonicalJsonValue (const nlohmann::json &j) |
|
template<class Jsonish , class RangeT > |
std::optional< std::decay_t< Jsonish > > | getInJson (Jsonish &&j, RangeT &&path, std::size_t index=0) |
|
bool | operator== (JsonWrap a, JsonWrap b) |
|
template<class T > |
void | addToJsonIfNeeded (json &j, std::string name, T &&arg) |
|
template<class MapT , std::enable_if_t<!std::is_same_v< std::decay_t< MapT >, json > &&!std::is_same_v< std::decay_t< MapT >, JsonWrap >, int > = 0> |
void | addPropertyMapToJson (json &j, MapT &&arg) |
|
void | addPropertyMapToJson (json &j, const json &arg) |
|
ClientResult | updateClient (ClientModel m, SetAccountDataPerRoomAction a) |
|
ClientResult | processResponse (ClientModel m, SetAccountDataPerRoomResponse r) |
|
ClientResult | updateClient (ClientModel m, SetAccountDataAction a) |
|
ClientResult | processResponse (ClientModel m, SetAccountDataResponse r) |
|
ClientResult | updateClient (ClientModel m, LoginAction a) |
|
ClientResult | processResponse (ClientModel m, LoginResponse r) |
|
ClientResult | updateClient (ClientModel m, TokenLoginAction a) |
|
ClientResult | updateClient (ClientModel m, LogoutAction) |
|
ClientResult | updateClient (ClientModel m, HardLogoutAction) |
|
ClientResult | processResponse (ClientModel m, LogoutResponse r) |
|
ClientResult | updateClient (ClientModel m, GetWellknownAction a) |
|
ClientResult | processResponse (ClientModel m, GetWellknownResponse r) |
|
ClientResult | updateClient (ClientModel m, GetVersionsAction a) |
|
ClientResult | processResponse (ClientModel m, GetVersionsResponse r) |
|
std::pair< std::string, std::string > | mxcUriToMediaDesc (std::string mxcUri) |
|
ClientResult | updateClient (ClientModel m, UploadContentAction a) |
|
ClientResult | processResponse (ClientModel m, UploadContentResponse r) |
|
ClientResult | updateClient (ClientModel m, DownloadContentAction a) |
|
ClientResult | processResponse (ClientModel m, GetContentResponse r) |
|
ClientResult | updateClient (ClientModel m, DownloadThumbnailAction a) |
|
ClientResult | processResponse (ClientModel m, GetContentThumbnailResponse r) |
|
ClientResult | updateClient (ClientModel m, UploadIdentityKeysAction) |
|
ClientResult | updateClient (ClientModel m, GenerateAndUploadOneTimeKeysAction a) |
|
ClientResult | processResponse (ClientModel m, UploadKeysResponse r) |
|
ClientModel | tryDecryptEvents (ClientModel m) |
|
std::optional< BaseJob > | clientPerform (ClientModel m, QueryKeysAction a) |
|
ClientResult | updateClient (ClientModel m, QueryKeysAction a) |
|
ClientResult | processResponse (ClientModel m, QueryKeysResponse r) |
|
ClientResult | updateClient (ClientModel m, ClaimKeysAction a) |
|
ClientResult | processResponse (ClientModel m, ClaimKeysResponse r) |
|
ClientResult | updateClient (ClientModel m, EncryptMegOlmEventAction a) |
|
ClientResult | updateClient (ClientModel m, SetDeviceTrustLevelAction a) |
|
ClientResult | updateClient (ClientModel m, SetTrustLevelNeededToSendKeysAction a) |
|
ClientResult | updateClient (ClientModel m, PrepareForSharingRoomKeyAction a) |
|
ClientResult | updateClient (ClientModel m, SetTypingAction a) |
|
ClientResult | processResponse (ClientModel m, SetTypingResponse r) |
|
ClientResult | updateClient (ClientModel m, PostReceiptAction a) |
|
ClientResult | processResponse (ClientModel m, PostReceiptResponse r) |
|
ClientResult | updateClient (ClientModel m, SetReadMarkerAction a) |
|
ClientResult | processResponse (ClientModel m, SetReadMarkerResponse r) |
|
ClientResult | updateClient (ClientModel m, CreateRoomAction a) |
|
ClientResult | processResponse (ClientModel m, CreateRoomResponse r) |
|
ClientResult | updateClient (ClientModel m, InviteToRoomAction a) |
|
ClientResult | processResponse (ClientModel m, InviteUserResponse r) |
|
ClientResult | updateClient (ClientModel m, JoinRoomAction a) |
|
ClientResult | processResponse (ClientModel m, JoinRoomResponse r) |
|
ClientResult | updateClient (ClientModel m, JoinRoomByIdAction a) |
|
ClientResult | processResponse (ClientModel m, JoinRoomByIdResponse r) |
|
ClientResult | updateClient (ClientModel m, LeaveRoomAction a) |
|
ClientResult | processResponse (ClientModel m, LeaveRoomResponse r) |
|
ClientResult | updateClient (ClientModel m, ForgetRoomAction a) |
|
ClientResult | processResponse (ClientModel m, ForgetRoomResponse r) |
|
ClientResult | updateClient (ClientModel m, KickAction a) |
|
ClientResult | processResponse (ClientModel m, KickResponse r) |
|
ClientResult | updateClient (ClientModel m, BanAction a) |
|
ClientResult | processResponse (ClientModel m, BanResponse r) |
|
ClientResult | updateClient (ClientModel m, UnbanAction a) |
|
ClientResult | processResponse (ClientModel m, UnbanResponse r) |
|
ClientResult | updateClient (ClientModel m, PaginateTimelineAction a) |
|
ClientResult | processResponse (ClientModel m, GetRoomEventsResponse r) |
|
ClientResult | updateClient (ClientModel m, GetUserProfileAction a) |
|
ClientResult | processResponse (ClientModel m, GetUserProfileResponse r) |
|
ClientResult | updateClient (ClientModel m, SetAvatarUrlAction a) |
|
ClientResult | processResponse (ClientModel m, SetAvatarUrlResponse r) |
|
ClientResult | updateClient (ClientModel m, SetDisplayNameAction a) |
|
ClientResult | processResponse (ClientModel m, SetDisplayNameResponse r) |
|
ClientResult | updateClient (ClientModel m, SendMessageAction a) |
|
ClientResult | processResponse (ClientModel m, SendMessageResponse r) |
|
ClientResult | updateClient (ClientModel m, SendToDeviceMessageAction a) |
|
ClientResult | updateClient (ClientModel m, SendMultipleToDeviceMessagesAction a) |
|
ClientResult | processResponse (ClientModel m, SendToDeviceResponse r) |
|
ClientResult | updateClient (ClientModel m, SaveLocalEchoAction a) |
|
ClientResult | updateClient (ClientModel m, UpdateLocalEchoStatusAction a) |
|
ClientResult | updateClient (ClientModel m, RedactEventAction a) |
|
ClientResult | processResponse (ClientModel m, RedactEventResponse r) |
|
BaseJob | clientPerform (ClientModel m, GetRoomStatesAction a) |
|
ClientResult | updateClient (ClientModel m, GetRoomStatesAction a) |
|
ClientResult | processResponse (ClientModel m, GetRoomStateResponse r) |
|
ClientResult | updateClient (ClientModel m, GetStateEventAction a) |
|
ClientResult | processResponse (ClientModel m, GetRoomStateWithKeyResponse r) |
|
ClientResult | updateClient (ClientModel m, SendStateEventAction a) |
|
ClientResult | processResponse (ClientModel m, SetRoomStateWithKeyResponse r) |
|
ClientResult | updateClient (ClientModel m, SyncAction) |
|
ClientResult | processResponse (ClientModel m, SyncResponse r) |
|
ClientResult | updateClient (ClientModel m, SetShouldSyncAction a) |
|
ClientResult | updateClient (ClientModel m, PostInitialFiltersAction) |
|
ClientResult | processResponse (ClientModel m, DefineFilterResponse r) |
|
template<class Archive > |
void | serialize (Archive &ar, ClientModel &m, std::uint32_t const version) |
|
std::string | increaseTxnId (std::string cur) |
|
std::string | getTxnId (Event, ClientModel &m) |
|
template<class K , class V , class List , class Func > |
immer::map< K, V > | merge (immer::map< K, V > map, List list, Func keyOf) |
|
std::string | keyOfPresence (Event e) |
|
std::string | keyOfAccountData (Event e) |
|
std::string | keyOfTimeline (Event e) |
|
std::string | keyOfEphemeral (Event e) |
|
template<class Archive > |
void | serialize (Archive &ar, KeyOfState &m, std::uint32_t const) |
|
bool | operator== (KeyOfState a, KeyOfState b) |
|
KeyOfState | keyOfState (Event e) |
|
template<class Context > |
JobInterface & | getJobHandler (Context &&ctx) |
|
template<class Context > |
EventInterface & | getEventEmitter (Context &&ctx) |
|
template<class ImmerT1 , class RangeT2 , class Pred , class Func > |
ImmerT1 | sortedUniqueMerge (ImmerT1 base, RangeT2 addon, Pred exists, Func keyOf) |
|
bool | operator== (DeviceKeyInfo a, DeviceKeyInfo b) |
|
bool | operator!= (DeviceKeyInfo a, DeviceKeyInfo b) |
|
template<class Archive > |
void | serialize (Archive &ar, DeviceKeyInfo &i, std::uint32_t const) |
|
template<class Archive > |
void | serialize (Archive &ar, DeviceListTracker &t, std::uint32_t const) |
|
| KAZV_DEFINE_COPYABLE_UNIQUE_PTR (PowerLevelsDesc, m_d) |
|
std::vector< std::string > | splitPath (std::string path) |
|
bool | matchGlob (std::string target, std::string pattern) |
|
std::pair< bool, json > | validateRule (std::string ruleSetName, const json &rule) |
|
Event | validatePushRules (const Event &e) |
|
| KAZV_DEFINE_COPYABLE_UNIQUE_PTR (PushRulesDesc, m_d) |
|
bool | operator== (const LocalEchoDesc &a, const LocalEchoDesc &b) |
|
bool | operator!= (const LocalEchoDesc &a, const LocalEchoDesc &b) |
|
PendingRoomKeyEvent | makePendingRoomKeyEventV0 (std::string txnId, Event event, immer::map< std::string, immer::flex_vector< std::string >> devices) |
|
bool | operator== (const ReadReceipt &a, const ReadReceipt &b) |
|
bool | operator!= (const ReadReceipt &a, const ReadReceipt &b) |
|
bool | operator== (const EventReader &a, const EventReader &b) |
|
bool | operator!= (const EventReader &a, const EventReader &b) |
|
auto | sortKeyForTimelineEvent (Event e) -> std::tuple< Timestamp, std::string > |
| Get the sort key for a timeline event. More...
|
|
auto | memberEventsByMembership (immer::map< KeyOfState, Event > stateEvents, const std::string &membership) |
|
template<class Archive > |
void | serialize (Archive &ar, ReadReceipt &r, std::uint32_t const) |
|
bool | operator== (const PendingRoomKeyEvent &a, const PendingRoomKeyEvent &b) |
|
bool | operator!= (const PendingRoomKeyEvent &a, const PendingRoomKeyEvent &b) |
|
template<class Archive > |
void | serialize (Archive &ar, PendingRoomKeyEvent &e, std::uint32_t const version) |
|
bool | operator== (const RoomModel &a, const RoomModel &b) |
|
bool | operator== (const RoomListModel &a, const RoomListModel &b) |
|
template<class Archive > |
void | serialize (Archive &ar, RoomModel &r, std::uint32_t const version) |
|
template<class Archive > |
void | serialize (Archive &ar, RoomListModel &l, std::uint32_t const) |
|
template<class Archive > |
void | serialize (Archive &ar, SdkModel &s, std::uint32_t const) |
|
template<class EventLoop , class Xform , class ... Enhancers> |
auto | makeSdk (SdkModel sdk, JobInterface &jobHandler, EventInterface &eventEmitter, EventLoop &&eventLoop, Xform &&xform, Enhancers &&...enhancers) -> Sdk< EventLoop, Xform, Enhancers... > |
| Create an sdk with the provided model. More...
|
|
std::size_t | makeDefaultSdkWithCryptoRandomSize () |
|
template<class EventLoop , class Xform , class ... Enhancers> |
auto | makeDefaultEncryptedSdk (JobInterface &jobHandler, EventInterface &eventEmitter, EventLoop &&eventLoop, Xform &&xform, Enhancers &&...enhancers) -> Sdk< EventLoop, Xform, Enhancers... > |
|
template<class PH , class Xform , class ... Enhancers> |
auto | makeDefaultSdkWithCryptoRandom (RandomData random, JobInterface &jobHandler, EventInterface &eventEmitter, PH &&ph, Xform &&xform, Enhancers &&...enhancers) -> Sdk< PH, Xform, Enhancers... > |
| Create an sdk with a default-constructed model, and a Crypto constructed with user-provided random data. More...
|
|
auto | withRandomGenerator (RandomInterface &random) |
| An enhancer to use a custom random generator. More...
|
|
detail::ReturnEffectStatusT | failWithResponse (const BaseJob::Response &r) |
| A effect that returns a failed EffectStatus upon invocation. More...
|
|
detail::ReturnEffectStatusT | failEffect (std::string errorCode, std::string errorMsg) |
| An effect that returns a failed EffectStatus with the given error code and message. More...
|
|
template<class Jsonish , class Key , class Validator > |
bool | cast (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f) |
| Run validator against input[k] and add it to ret . More...
|
|
template<class Func > |
auto | identValidate (Func &&f) |
| Make an identity validator. More...
|
|
template<class Jsonish , class Key , class Validator > |
bool | castArray (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f, CastArrayStrategy strategy) |
| Cast an array of items. More...
|
|
template<class Jsonish , class Key , class Validator > |
bool | castObject (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f, CastObjectStrategy strategy) |
| Cast an object of items. More...
|
|
template<class Jsonish , class Key , class Jsonish2 > |
std::decay_t< Jsonish > | makeDefaultValue (Jsonish &&input, Key &&k, Jsonish2 &&defaultValue) |
| Replace a non-existent value with a default one. More...
|
|
std::string | encodeBase64 (std::string original, int flags=Base64Opts::none) |
| Encodes the original string to base64. More...
|
|
std::string | decodeBase64 (std::string encoded, int flags=Base64Opts::none) |
| Decode base64 string. More...
|
|
void | from_json (const nlohmann::json &j, KeyOfGroupSession &k) |
|
void | to_json (nlohmann::json &j, const KeyOfGroupSession &k) |
|
bool | operator== (KeyOfGroupSession a, KeyOfGroupSession b) |
|
bool | operator== (KeyOfOutboundSession a, KeyOfOutboundSession b) |
|
ByteArray | genRandom (int len) |
|
RandomData | genRandomData (int len) |
|
void | to_json (nlohmann::json &j, const KeyOfDecryptedEvent &k) |
|
void | from_json (const nlohmann::json &j, KeyOfDecryptedEvent &k) |
|
bool | operator== (KeyOfDecryptedEvent a, KeyOfDecryptedEvent b) |
|
bool | operator!= (KeyOfDecryptedEvent a, KeyOfDecryptedEvent b) |
|
void | to_json (nlohmann::json &j, const InboundGroupSession &s) |
|
void | from_json (const nlohmann::json &j, InboundGroupSession &s) |
|
void | to_json (nlohmann::json &j, const OutboundGroupSession &s) |
|
void | from_json (const nlohmann::json &j, OutboundGroupSession &s) |
|
void | to_json (nlohmann::json &j, const Session &s) |
|
void | from_json (const nlohmann::json &j, Session &s) |
|
Timestamp | currentTimeMs () |
|
template<class Exec > |
| AsioPromiseHandler (Exec) -> AsioPromiseHandler< Exec > |
|
EffectStatus | createDefaultForPromiseThen (EffectStatus) |
|
EffectStatus | dataCombine (EffectStatus a, EffectStatus b) |
|
EffectStatus | dataCombineNone (EffectStatus) |
|
template<class Action , class Tag = lager::automatic_tag, class Model , class Reducer , class PH , class ... Enhancers> |
auto | makeStore (Model &&initialModel, Reducer &&reducer, PH &&ph, Enhancers &&...enhancers) |
|