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)
SourceInstance methods
auth_headers
Sourcebroadcast_channel_id(channel) : String | Nil
Sourcecondition(type, id, other_parameters) : Hash(String, String)
Sourcedelete(url, body, headers = headers(auth_headers, json_content_type_header))
Sourcegenerate_secret
Sourceget(url, headers = auth_headers)
Sourceheaders(*hdrs)
Sourcehttp_server
Sourcehttp_server=(http_server : TwitchEventSub::HttpServer)
Sourcejson_content_type_header
Sourcelist
Sourcepost(url, body, headers = headers(auth_headers, json_content_type_header))
Sourcesecrets
Sourceserver_finished_running
Sourceserver_finished_running=(server_finished_running : Channel(Nil))
Sourcesubscribe(type : String, channel_or_id : String | Int, other_parameters : Hash(String, String) = {} of String => String)
Sourceunsubscribe(subscription)
Sourceuser_by_channel_name(channel)
Sourceverification_pending?(response)
Source