Sha256: b0da4db8befd618a1d566703ff48da6c82caa634fd49996d11c7cc3e266a0105
Contents?: true
Size: 370 Bytes
Versions: 429
Compression:
Stored size: 370 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 def initialize(connection, expiration_time) @connection = connection @expiration_time = expiration_time end def expired?(now) @expiration_time <= now end end
Version data entries
429 entries across 429 versions & 3 rubygems