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.19.4 sig/plugins/cookies.rbs
httpx-0.19.3 sig/plugins/cookies.rbs
httpx-0.19.2 sig/plugins/cookies.rbs
httpx-0.19.1 sig/plugins/cookies.rbs
httpx-0.19.0 sig/plugins/cookies.rbs
httpx-0.18.7 sig/plugins/cookies.rbs
httpx-0.18.6 sig/plugins/cookies.rbs
httpx-0.18.5 sig/plugins/cookies.rbs
httpx-0.18.4 sig/plugins/cookies.rbs
httpx-0.18.3 sig/plugins/cookies.rbs
httpx-0.18.2 sig/plugins/cookies.rbs
httpx-0.18.1 sig/plugins/cookies.rbs
httpx-0.18.0 sig/plugins/cookies.rbs
httpx-0.17.0 sig/plugins/cookies.rbs
httpx-0.16.1 sig/plugins/cookies.rbs
httpx-0.16.0 sig/plugins/cookies.rbs