class Caridina::ConnectionImpl

Included Modules

Defined in:

connection.cr

Constant Summary

Log = Caridina::Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Caridina::Connection

edit_message(room_id : String, event_id : String, message : String, html : String | Nil = nil) : Nil edit_message, get(route, **options) get, post(route, data = nil, **options) post, put(route, data = nil) put, send_message(room_id : String, message : String, html : String | Nil = nil) : String send_message

Constructor Detail

def self.new(hs_url : String, access_token : String) #

[View source]

Class Method Detail

def self.login(hs_url : String, user_id : String, password : String) : String #

[View source]

Instance Method Detail

def create_filter(filter) : String #

[View source]
def edit_message(room_id : String, event_id : String, message : String, html : String | Nil = nil) : Nil #

[View source]
def get(route, **options) #

[View source]
def join(room_id) : Nil #

[View source]
def post(route, data = nil, **options) #

[View source]
def put(route, data = nil) #

[View source]
def send_message(room_id : String, message : String, html : String | Nil = nil) : String #

[View source]
def sync(channel) #

[View source]
def user_id : String #

[View source]
def whoami : String #

[View source]