class

TwitchEventSub::Subscriptions

Inherits Reference < Object

Constructors

new(client_id : String, authorization : String, secret_store : TwitchEventSub::SecretStore = SecretStore.new, host : String = "127.0.0.1", port : Int32 = 8080, context : OpenSSL::SSL::Context::Server | Nil = nil, handler = TwitchEventSub::HttpServer::TwitchHandler)
Source

Instance methods

auth_headers
Source
broadcast_channel_id(channel) : String | Nil
Source
condition(type, id, other_parameters) : Hash(String, String)
Source
delete(url, body, headers = headers(auth_headers, json_content_type_header))
Source
generate_secret
Source
get(url, headers = auth_headers)
Source
headers(*hdrs)
Source
http_server
Source
http_server=(http_server : TwitchEventSub::HttpServer)
Source
json_content_type_header
Source
list
Source
post(url, body, headers = headers(auth_headers, json_content_type_header))
Source
secrets
Source
server_finished_running
Source
server_finished_running=(server_finished_running : Channel(Nil))
Source
subscribe(type : String, channel_or_id : String | Int, other_parameters : Hash(String, String) = {} of String => String)
Source
unsubscribe(subscription)
Source
user_by_channel_name(channel)
Source
verification_pending?(response)
Source