class

HttpClient

Inherits Reference < Object

Constructors

new(name : String, pubsub_client : PubSubClient, base_url : String | Nil, timeout : Int32 = 500)
Source

Instance methods

current_stats
Source
current_stats=(current_stats : HttpClientStats | Nil)
Source
name
Source
name=(name : String)
Source
send_health_update(stats : HttpClientStats)
Source
send_payment(data : PaymentProcessorRequest, token : String | Nil)

Accepts a buffer of data (String or IO) instead of a Payment object

Source
timeout
Source
timeout=(timeout : Int32)
Source
update_health
Source
update_health_loop
Source