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-1.1.5 sig/plugins/cookies.rbs
httpx-1.1.4 sig/plugins/cookies.rbs
httpx-1.1.3 sig/plugins/cookies.rbs
httpx-1.1.2 sig/plugins/cookies.rbs
httpx-1.1.1 sig/plugins/cookies.rbs
httpx-1.1.0 sig/plugins/cookies.rbs
httpx-1.0.2 sig/plugins/cookies.rbs
httpx-0.24.7 sig/plugins/cookies.rbs
httpx-1.0.1 sig/plugins/cookies.rbs
httpx-1.0.0 sig/plugins/cookies.rbs
httpx-0.24.6 sig/plugins/cookies.rbs
httpx-0.24.5 sig/plugins/cookies.rbs
httpx-0.24.4 sig/plugins/cookies.rbs
httpx-0.24.3 sig/plugins/cookies.rbs
httpx-0.24.2 sig/plugins/cookies.rbs
httpx-0.24.1 sig/plugins/cookies.rbs
httpx-0.24.0 sig/plugins/cookies.rbs
httpx-0.23.4 sig/plugins/cookies.rbs
httpx-0.23.3 sig/plugins/cookies.rbs
httpx-0.23.2 sig/plugins/cookies.rbs