Class BSV::Overlay::BroadcastFacilitator ¶
Inherits: Object
Abstract base class defining the interface for broadcast facilitators.
A facilitator is responsible for sending a TaggedBEEF to a given Overlay Services host URL and returning a parsed STEAK response. Concrete subclasses implement the transport mechanism (e.g. HTTPS).
Implementors must override #send_beef.
Public Instance Methods¶
send_beef(url, tagged_beef) ¶
Send a tagged BEEF to the given overlay host. - @param url [String] base URL of the Overlay Services host - @param tagged_beef [TaggedBEEF] the tagged BEEF to send - @raise [NotImplementedError] always — subclasses must implement this - @return [Hash{String => AdmittanceInstructions}, nil] STEAK response, or nil on failure