Sha256: 0936d4c0013947f07e9ac61876027e7d2c9317a2777a9c57935fdf02ade7d044

Contents?: true

Size: 615 Bytes

Versions: 34

Compression:

Stored size: 615 Bytes

Contents

module HTTPX
  module Plugins::Cookies
    class Jar
      type cookie = Cookie | Array[[String, String, cookie_attributes]] | Array[[String, String]] | cookie_attributes

      include Enumerable[Cookie]

      @cookies: Array[Cookie]

      def parse: (String set_cookie) -> void

      def add: (Cookie name, ?String path) -> void

      def []: (uri) -> Array[Cookie]

      def each: (?uri) { (Cookie) -> void } -> void
              | (?uri) -> Enumerable[Cookie]

      def merge: (_Each[cookie] cookies) -> instance

      private

      def initialize: (?_Each[cookie] cookies) -> untyped
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
httpx-0.22.5 sig/plugins/cookies/jar.rbs
httpx-0.22.4 sig/plugins/cookies/jar.rbs
httpx-0.22.3 sig/plugins/cookies/jar.rbs
httpx-0.22.2 sig/plugins/cookies/jar.rbs
httpx-0.22.1 sig/plugins/cookies/jar.rbs
httpx-0.22.0 sig/plugins/cookies/jar.rbs
httpx-0.21.1 sig/plugins/cookies/jar.rbs
httpx-0.21.0 sig/plugins/cookies/jar.rbs
httpx-0.20.5 sig/plugins/cookies/jar.rbs
httpx-0.20.4 sig/plugins/cookies/jar.rbs
httpx-0.20.3 sig/plugins/cookies/jar.rbs
httpx-0.20.2 sig/plugins/cookies/jar.rbs
httpx-0.20.1 sig/plugins/cookies/jar.rbs
httpx-0.20.0 sig/plugins/cookies/jar.rbs
httpx-0.19.8 sig/plugins/cookies/jar.rbs
httpx-0.19.7 sig/plugins/cookies/jar.rbs
httpx-0.19.6 sig/plugins/cookies/jar.rbs
httpx-0.19.5 sig/plugins/cookies/jar.rbs
httpx-0.19.4 sig/plugins/cookies/jar.rbs
httpx-0.19.3 sig/plugins/cookies/jar.rbs