Module: HTTPX::Plugins::Cookies

Defined in:
lib/httpx/plugins/cookies.rb,
lib/httpx/plugins/cookies/jar.rb,
lib/httpx/plugins/cookies/cookie.rb,
lib/httpx/plugins/cookies/set_cookie_parser.rb

Overview

This plugin implements a persistent cookie jar for the duration of a session.

It also adds a #cookies helper, so that you can pre-fill the cookies of a session.

gitlab.com/os85/httpx/wikis/Cookies

Defined Under Namespace

Modules: HeadersMethods, InstanceMethods, OptionsMethods, SetCookieParser Classes: Cookie, Jar

Class Method Summary collapse

Class Method Details

.load_dependenciesObject



15
16
17
18
19
# File 'lib/httpx/plugins/cookies.rb', line 15

def self.load_dependencies(*)
  require "httpx/plugins/cookies/jar"
  require "httpx/plugins/cookies/cookie"
  require "httpx/plugins/cookies/set_cookie_parser"
end