struct

Ejabberd

Inherits Struct < Value < Object

Constructors

new(api_url : String)
Source

Instance methods

add_rosteritem(local_user : String, local_server : String, user : String, server : String, nick : String, group : String, subs : String) : HTTP::Client::Response
Source
backup(file : String) : HTTP::Client::Response
Source
ban_account(user : String, host : String, reason : String) : HTTP::Client::Response
Source
change_password(user : String, host : String, new_pass : String) : HTTP::Client::Response
Source
change_room_option(name : String, service : String, option : String, value : String) : HTTP::Client::Response
Source
check_account(user : String, host : String) : HTTP::Client::Response
Source
check_password(user : String, host : String, password : String) : HTTP::Client::Response
Source
check_password_hash(user : String, host : String, password_hash : String, hash_method : String) : HTTP::Client::Response
Source
clear_cache
Source
compile(file : String) : HTTP::Client::Response
Source
connected_users
Source
connected_users_info
Source
connected_users_number
Source
connected_users_vhost(host : String) : HTTP::Client::Response
Source
convert_to_scram(host : String) : HTTP::Client::Response
Source
convert_to_yaml(in_ : String, out_ : String) : HTTP::Client::Response
Source
create_room(name : String, service : String, host : String) : HTTP::Client::Response
Source
create_room_with_opts(name : String, service : String, host : String, option : Hash(String, String)) : HTTP::Client::Response
Source
create_rooms_file(file : String) : HTTP::Client::Response
Source
delete_expired_messages
Source
delete_mnesia(host : String) : HTTP::Client::Response
Source
delete_old_messages(days : Int32) : HTTP::Client::Response
Source
delete_old_users(days : Int32) : HTTP::Client::Response
Source
delete_old_users_vhost(host : String, days : Int32) : HTTP::Client::Response
Source
delete_rosteritem(localuser : String, localserver : String, user : String, server : String) : HTTP::Client::Response
Source
destroy_room(name : String, service : String) : HTTP::Client::Response
Source
destroy_rooms_file(file : String) : HTTP::Client::Response
Source
dump(file : String) : HTTP::Client::Response
Source
dump_table(file : String, table : String) : HTTP::Client::Response
Source
export2sql(host : String, file : String) : HTTP::Client::Response
Source
export_piefxis(dir : String) : HTTP::Client::Response
Source
export_piefxis_host(dir : String, host : String) : HTTP::Client::Response
Source
gen_html_doc_for_commands(dir : String, regexp : String, examples : String) : HTTP::Client::Response
Source
gen_markdown_doc_for_commands(file : String, regexp : String, examples : String)
Source
get_certificates(domains : String) : HTTP::Client::Response
Source
get_last(user : String, host : String) : HTTP::Client::Response
Source
get_loglevel
Source
get_offline_count(user : String, server : String) : HTTP::Client::Response
Source
get_presence(user : String, server : String) : HTTP::Client::Response
Source
get_room_affiliations(name : String, service : String) : HTTP::Client::Response
Source
get_room_occupants(name : String, service : String) : HTTP::Client::Response
Source
get_room_occupants_number(name : String, service : String) : HTTP::Client::Response
Source
get_room_options(name : String, service : String) : HTTP::Client::Response
Source
get_roster(name : String, service : String) : HTTP::Client::Response
Source
get_subscribers(name : String, service : String) : HTTP::Client::Response
Source
get_user_rooms(name : String, service : String) : HTTP::Client::Response
Source
get_vcard(user : String, host : String, name : String) : HTTP::Client::Response
Source
get_vcard2(user : String, host : String, name : String, sub_name : String) : HTTP::Client::Response
Source
get_vcard2_multi(user : String, host : String, name : String, sub_name : String) : HTTP::Client::Response
Source
import_dir(file : String) : HTTP::Client::Response
Source
import_file(file : String) : HTTP::Client::Response
Source
import_piefxis(file : String) : HTTP::Client::Response
Source
import_prosody(dir : String) : HTTP::Client::Response
Source
incoming_s2s_number
Source
install_fallback(file : String) : HTTP::Client::Response
Source
join_cluster(node : String) : HTTP::Client::Response
Source
kick_session(user : String, host : String, resource : String, reason : String) : HTTP::Client::Response
Source
kick_user(user : String, host : String) : HTTP::Client::Response
Source
leave_cluster(node : String) : HTTP::Client::Response
Source
list_certificates(option : String) : HTTP::Client::Response
Source
list_cluster(node : String) : HTTP::Client::Response
Source
load(file : String) : HTTP::Client::Response
Source
mnesia_change_nodename(old_node_name : String, new_node_name : String, old_backup : String, new_backup : String) : HTTP::Client::Response
Source
module_check(mod : String) : HTTP::Client::Response
Source
module_install(mod : String) : HTTP::Client::Response
Source
module_uninstall(mod : String) : HTTP::Client::Response
Source
module_upgrade(mod : String) : HTTP::Client::Response
Source
modules_available
Source
modules_installed
Source
modules_update_specs
Source
muc_online_rooms(host : String) : HTTP::Client::Response
Source
muc_online_rooms_by_regex(host : String, regex : String) : HTTP::Client::Response
Source
muc_register_nick(nick : String, jid : String, serverhost : String) : HTTP::Client::Response
Source
muc_unregister_nick(jid : String, serverhost : String) : HTTP::Client::Response
Source
num_active_users(host : String, days : UInt16) : HTTP::Client::Response
Source
num_resources(user : String, host : String) : HTTP::Client::Response
Source
oauth_issue_token(jid : String, ttl : UInt16, scopes : String) : HTTP::Client::Response
Source
oauth_list_tokens
Source
oauth_revoke_token(token : String) : HTTP::Client::Response
Source
outgoing_s2s_number
Source
privacy_get(user : String, host : String, element : String, ns : String) : HTTP::Client::Response
Source
privacy_set(user : String, host : String, xmlquery : String | Nil = nil, element : String | Nil = nil) : HTTP::Client::Response
Source
process_rosteritems(action : String, subs : String, asks : String, users : String, contacts : String) : HTTP::Client::Response
Source
push_alltoall(host : String, group : String) : HTTP::Client::Response
Source
push_roster(user : String, file : String, host : String) : HTTP::Client::Response
Source
push_roster_all(file : String) : HTTP::Client::Response
Source
register(user : String, host : String, password : String) : HTTP::Client::Response
Source
registered_users(host : String) : HTTP::Client::Response
Source
registered_vhosts
Source
reload_config
Source
renew_certificates
Source
reopen_log
Source
resource_num(user : String, host : String, num : String) : HTTP::Client::Response
Source
restart
Source
restart_module(host : String, mod : String) : HTTP::Client::Response
Source
restore(file : String) : HTTP::Client::Response
Source
revoke_certificate(domain_or_file : String) : HTTP::Client::Response
Source
rooms_unused_destroy(host : String, days : UInt16) : HTTP::Client::Response
Source
rooms_unused_list(host : String, days : UInt16) : HTTP::Client::Response
Source
rotate_log
Source
send_direct_invitation(name : String, service : String, password : String, reason : String, users : String) : HTTP::Client::Response
Source
send_message(type_ : String, from : String, to : String, subject : String, body_ : String) : HTTP::Client::Response
Source
send_stanza(from : String, to : String, stanza : String) : HTTP::Client::Response
Source
send_stanza_c2s(user : String, host : String, resource : String, stanza : String) : HTTP::Client::Response
Source
set_last(user : String, host : String, time_stamp : UInt, status : String) : HTTP::Client::Response
Source
set_loglevel(log_level : UInt8) : HTTP::Client::Response
Source
set_master(node_name : String) : HTTP::Client::Response
Source
set_nickname(user : String, host : String, nick_name : String) : HTTP::Client::Response
Source
set_presence(user : String, host : String, resource : String, type_ : String, show : String, status : String, priority : String) : HTTP::Client::Response
Source
set_room_affiliation(name : String, service : String, jid : String, affiliation : String) : HTTP::Client::Response
Source
set_vcard(user : String, host : String, name : String, content : String) : HTTP::Client::Response
Source
set_vcard2(user : String, host : String, name : String, sub_name : String, content : String) : HTTP::Client::Response
Source
set_vcard2_multi(user : String, host : String, name : String, sub_name : String, contents : Array(String))
Source
srg_create(group : String, host : String, name : String, description : String, display : String) : HTTP::Client::Response
Source
srg_delete(group : String, host : String) : HTTP::Client::Response
Source
srg_get_info(group : String, host : String) : HTTP::Client::Response
Source
srg_get_members(group : String, host : String) : HTTP::Client::Response
Source
srg_list(host : String) : HTTP::Client::Response
Source
srg_user_add(user : String, host : String, group : String, group_host : String) : HTTP::Client::Response
Source
srg_user_del(user : String, host : String, group : String, group_host : String) : HTTP::Client::Response
Source
stats(name : String) : HTTP::Client::Response
Source
stats_host(name : String, host : String) : HTTP::Client::Response
Source
status
Source
status_list(status : String) : HTTP::Client::Response
Source
status_list_host(host : String, status : String) : HTTP::Client::Response
Source
status_num(status : String) : HTTP::Client::Response
Source
status_num_host(host : String, status : String) : HTTP::Client::Response
Source
stop
Source
stop_kindly(delay : UInt16, announcement : String) : HTTP::Client::Response
Source
stop_s2s_connections
Source
subscribe_room(user : String, nick : String, room : String, nodes : String) : HTTP::Client::Response
Source
unregister(user : String, host : String) : HTTP::Client::Response
Source
unsubscribe_room(user : String, room : String) : HTTP::Client::Response
Source
update(mod : String) : HTTP::Client::Response
Source
update_list
Source
user_resources(user : String, host : String) : HTTP::Client::Response
Source
user_sessions_info(user : String, host : String) : HTTP::Client::Response
Source