Ejabberd
Inherits Struct < Value < Object
Constructors
new(api_url : String)
SourceInstance methods
add_rosteritem(local_user : String, local_server : String, user : String, server : String, nick : String, group : String, subs : String) : HTTP::Client::Response
Sourcebackup(file : String) : HTTP::Client::Response
Sourceban_account(user : String, host : String, reason : String) : HTTP::Client::Response
Sourcechange_password(user : String, host : String, new_pass : String) : HTTP::Client::Response
Sourcechange_room_option(name : String, service : String, option : String, value : String) : HTTP::Client::Response
Sourcecheck_account(user : String, host : String) : HTTP::Client::Response
Sourcecheck_password(user : String, host : String, password : String) : HTTP::Client::Response
Sourcecheck_password_hash(user : String, host : String, password_hash : String, hash_method : String) : HTTP::Client::Response
Sourceclear_cache
Sourcecompile(file : String) : HTTP::Client::Response
Sourceconnected_users
Sourceconnected_users_info
Sourceconnected_users_number
Sourceconnected_users_vhost(host : String) : HTTP::Client::Response
Sourceconvert_to_scram(host : String) : HTTP::Client::Response
Sourceconvert_to_yaml(in_ : String, out_ : String) : HTTP::Client::Response
Sourcecreate_room(name : String, service : String, host : String) : HTTP::Client::Response
Sourcecreate_room_with_opts(name : String, service : String, host : String, option : Hash(String, String)) : HTTP::Client::Response
Sourcecreate_rooms_file(file : String) : HTTP::Client::Response
Sourcedelete_expired_messages
Sourcedelete_mnesia(host : String) : HTTP::Client::Response
Sourcedelete_old_messages(days : Int32) : HTTP::Client::Response
Sourcedelete_old_users(days : Int32) : HTTP::Client::Response
Sourcedelete_old_users_vhost(host : String, days : Int32) : HTTP::Client::Response
Sourcedelete_rosteritem(localuser : String, localserver : String, user : String, server : String) : HTTP::Client::Response
Sourcedestroy_room(name : String, service : String) : HTTP::Client::Response
Sourcedestroy_rooms_file(file : String) : HTTP::Client::Response
Sourcedump(file : String) : HTTP::Client::Response
Sourcedump_table(file : String, table : String) : HTTP::Client::Response
Sourceexport2sql(host : String, file : String) : HTTP::Client::Response
Sourceexport_piefxis(dir : String) : HTTP::Client::Response
Sourceexport_piefxis_host(dir : String, host : String) : HTTP::Client::Response
Sourcegen_html_doc_for_commands(dir : String, regexp : String, examples : String) : HTTP::Client::Response
Sourcegen_markdown_doc_for_commands(file : String, regexp : String, examples : String)
Sourceget_certificates(domains : String) : HTTP::Client::Response
Sourceget_cookie
Sourceget_last(user : String, host : String) : HTTP::Client::Response
Sourceget_loglevel
Sourceget_offline_count(user : String, server : String) : HTTP::Client::Response
Sourceget_presence(user : String, server : String) : HTTP::Client::Response
Sourceget_room_affiliations(name : String, service : String) : HTTP::Client::Response
Sourceget_room_occupants(name : String, service : String) : HTTP::Client::Response
Sourceget_room_occupants_number(name : String, service : String) : HTTP::Client::Response
Sourceget_room_options(name : String, service : String) : HTTP::Client::Response
Sourceget_roster(name : String, service : String) : HTTP::Client::Response
Sourceget_subscribers(name : String, service : String) : HTTP::Client::Response
Sourceget_user_rooms(name : String, service : String) : HTTP::Client::Response
Sourceget_vcard(user : String, host : String, name : String) : HTTP::Client::Response
Sourceget_vcard2(user : String, host : String, name : String, sub_name : String) : HTTP::Client::Response
Sourceget_vcard2_multi(user : String, host : String, name : String, sub_name : String) : HTTP::Client::Response
Sourceimport_dir(file : String) : HTTP::Client::Response
Sourceimport_file(file : String) : HTTP::Client::Response
Sourceimport_piefxis(file : String) : HTTP::Client::Response
Sourceimport_prosody(dir : String) : HTTP::Client::Response
Sourceincoming_s2s_number
Sourceinstall_fallback(file : String) : HTTP::Client::Response
Sourcejoin_cluster(node : String) : HTTP::Client::Response
Sourcekick_session(user : String, host : String, resource : String, reason : String) : HTTP::Client::Response
Sourcekick_user(user : String, host : String) : HTTP::Client::Response
Sourceleave_cluster(node : String) : HTTP::Client::Response
Sourcelist_certificates(option : String) : HTTP::Client::Response
Sourcelist_cluster(node : String) : HTTP::Client::Response
Sourceload(file : String) : HTTP::Client::Response
Sourcemnesia_change_nodename(old_node_name : String, new_node_name : String, old_backup : String, new_backup : String) : HTTP::Client::Response
Sourcemodule_check(mod : String) : HTTP::Client::Response
Sourcemodule_install(mod : String) : HTTP::Client::Response
Sourcemodule_uninstall(mod : String) : HTTP::Client::Response
Sourcemodule_upgrade(mod : String) : HTTP::Client::Response
Sourcemodules_available
Sourcemodules_installed
Sourcemodules_update_specs
Sourcemuc_online_rooms(host : String) : HTTP::Client::Response
Sourcemuc_online_rooms_by_regex(host : String, regex : String) : HTTP::Client::Response
Sourcemuc_register_nick(nick : String, jid : String, serverhost : String) : HTTP::Client::Response
Sourcemuc_unregister_nick(jid : String, serverhost : String) : HTTP::Client::Response
Sourcenum_active_users(host : String, days : UInt16) : HTTP::Client::Response
Sourcenum_resources(user : String, host : String) : HTTP::Client::Response
Sourceoauth_issue_token(jid : String, ttl : UInt16, scopes : String) : HTTP::Client::Response
Sourceoauth_list_tokens
Sourceoauth_revoke_token(token : String) : HTTP::Client::Response
Sourceoutgoing_s2s_number
Sourceprivacy_get(user : String, host : String, element : String, ns : String) : HTTP::Client::Response
Sourceprivacy_set(user : String, host : String, xmlquery : String | Nil = nil, element : String | Nil = nil) : HTTP::Client::Response
Sourceprocess_rosteritems(action : String, subs : String, asks : String, users : String, contacts : String) : HTTP::Client::Response
Sourcepush_alltoall(host : String, group : String) : HTTP::Client::Response
Sourcepush_roster(user : String, file : String, host : String) : HTTP::Client::Response
Sourcepush_roster_all(file : String) : HTTP::Client::Response
Sourceregister(user : String, host : String, password : String) : HTTP::Client::Response
Sourceregistered_users(host : String) : HTTP::Client::Response
Sourceregistered_vhosts
Sourcereload_config
Sourcerenew_certificates
Sourcereopen_log
Sourceresource_num(user : String, host : String, num : String) : HTTP::Client::Response
Sourcerestart
Sourcerestart_module(host : String, mod : String) : HTTP::Client::Response
Sourcerestore(file : String) : HTTP::Client::Response
Sourcerevoke_certificate(domain_or_file : String) : HTTP::Client::Response
Sourcerooms_unused_destroy(host : String, days : UInt16) : HTTP::Client::Response
Sourcerooms_unused_list(host : String, days : UInt16) : HTTP::Client::Response
Sourcerotate_log
Sourcesend_direct_invitation(name : String, service : String, password : String, reason : String, users : String) : HTTP::Client::Response
Sourcesend_message(type_ : String, from : String, to : String, subject : String, body_ : String) : HTTP::Client::Response
Sourcesend_stanza(from : String, to : String, stanza : String) : HTTP::Client::Response
Sourcesend_stanza_c2s(user : String, host : String, resource : String, stanza : String) : HTTP::Client::Response
Sourceset_last(user : String, host : String, time_stamp : UInt, status : String) : HTTP::Client::Response
Sourceset_loglevel(log_level : UInt8) : HTTP::Client::Response
Sourceset_master(node_name : String) : HTTP::Client::Response
Sourceset_nickname(user : String, host : String, nick_name : String) : HTTP::Client::Response
Sourceset_presence(user : String, host : String, resource : String, type_ : String, show : String, status : String, priority : String) : HTTP::Client::Response
Sourceset_room_affiliation(name : String, service : String, jid : String, affiliation : String) : HTTP::Client::Response
Sourceset_vcard(user : String, host : String, name : String, content : String) : HTTP::Client::Response
Sourceset_vcard2(user : String, host : String, name : String, sub_name : String, content : String) : HTTP::Client::Response
Sourceset_vcard2_multi(user : String, host : String, name : String, sub_name : String, contents : Array(String))
Sourcesrg_create(group : String, host : String, name : String, description : String, display : String) : HTTP::Client::Response
Sourcesrg_delete(group : String, host : String) : HTTP::Client::Response
Sourcesrg_get_info(group : String, host : String) : HTTP::Client::Response
Sourcesrg_get_members(group : String, host : String) : HTTP::Client::Response
Sourcesrg_list(host : String) : HTTP::Client::Response
Sourcesrg_user_add(user : String, host : String, group : String, group_host : String) : HTTP::Client::Response
Sourcesrg_user_del(user : String, host : String, group : String, group_host : String) : HTTP::Client::Response
Sourcestats(name : String) : HTTP::Client::Response
Sourcestats_host(name : String, host : String) : HTTP::Client::Response
Sourcestatus
Sourcestatus_list(status : String) : HTTP::Client::Response
Sourcestatus_list_host(host : String, status : String) : HTTP::Client::Response
Sourcestatus_num(status : String) : HTTP::Client::Response
Sourcestatus_num_host(host : String, status : String) : HTTP::Client::Response
Sourcestop
Sourcestop_kindly(delay : UInt16, announcement : String) : HTTP::Client::Response
Sourcestop_s2s_connections
Sourcesubscribe_room(user : String, nick : String, room : String, nodes : String) : HTTP::Client::Response
Sourceunregister(user : String, host : String) : HTTP::Client::Response
Sourceunsubscribe_room(user : String, room : String) : HTTP::Client::Response
Sourceupdate(mod : String) : HTTP::Client::Response
Sourceupdate_list
Sourceuser_resources(user : String, host : String) : HTTP::Client::Response
Sourceuser_sessions_info(user : String, host : String) : HTTP::Client::Response
Source