Sha256: f4ce1226504fa29c759ec78c54b61262ec680a16e04753c02bb649af65855d2b
Contents?: true
Size: 416 Bytes
Versions: 152
Compression:
Stored size: 416 Bytes
Contents
# An HTTP session that references a persistent HTTP connection and # an expiration time for the connection. # # @api private # class Puppet::Network::HTTP::Session attr_reader :connection, :verifier def initialize(connection, verifier, expiration_time) @connection = connection @verifier = verifier @expiration_time = expiration_time end def expired?(now) @expiration_time <= now end end
Version data entries
152 entries across 152 versions & 1 rubygems