Sha256: 6158c6e21c6aa43338fd97579a76766169842a5aa28df86b7cfd0794ba3f1d13

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

require_relative "http/session"

module HTTP
  class << self
    # @param [Hash] default_options
    # @option default_options [Boolean, Hash] :cookies session cookies option
    # @option default_options [Boolean, Hash] :cache session cache option
    # @option default_options [Hash] :http http client options
    # @return [Session] a new instance of Session.
    def session(default_options = {})
      HTTP::Session.new(default_options)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-http-session-1.0.1 lib/http-session.rb