Sha256: 1c3002dffabac9ee7a3d96756ae827a2049192b87d251de6c7b463d911ea1ec4

Contents?: true

Size: 534 Bytes

Versions: 56

Compression:

Stored size: 534 Bytes

Contents

module HTTPX
  module Plugins
    module Cookies
      type jar = Jar | _Each[Jar::cookie]

      interface _CookieOptions
        def cookies: () -> Jar?
      end

      def self.extra_options: (Options) -> (Options & _CookieOptions)

      module InstanceMethods
        def cookies: () -> Jar
      end

      module HeadersMethods
        def set_cookie: (Array[Cookie]) -> void
      end
    end

    type sessionCookies = Session & Cookies::InstanceMethods
    type headersCookies = Headers & Cookies::HeadersMethods
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

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