module Pubsubhubbub::Utils

Public Instance Methods

http_client() click to toggle source
# 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