Module: Pubsubhubbub::Utils
- Included in:
- DeliverPayloadJob, FetchTopicJob, SubscriptionsController, VerifyIntentJob
- Defined in:
- lib/pubsubhubbub.rb
Instance Method Summary collapse
Instance Method Details
#http_client ⇒ Object
26 27 28 29 |
# File 'lib/pubsubhubbub.rb', line 26 def http_client HTTP.timeout(:per_operation, write: 30, connect: 20, read: 30) .headers(user_agent: "PubSubHubbub/#{Pubsubhubbub::VERSION}") end |