class

HqTrivia::Connection::Local

Inherits HqTrivia::Connection::Interface < Reference < Object

Local connection, given an array of messaegs, it parses them and yields them to the block

Constructors

new(raw_messages : Array(String))
Source

Instance methods

connect(coordinator : Coordinator)

Connect to a show using the given coordinator

Source
open?

True if open, false otherwise

Source
run

Starts the connections

Source
send_message(message : String)

Sends the message to the connection

Source