Sha256: 421574e6125fb9d51c929ff12bd28b842f3919d50ed112f7d1364cc37a5f7f15

Contents?: true

Size: 584 Bytes

Versions: 14

Compression:

Stored size: 584 Bytes

Contents

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

      interface _CookieOptions
        def cookies: () -> Jar?
        def cookies=: (jar) -> 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 & Plugins::Cookies::InstanceMethods
    type headersCookies = Headers & Plugins::Cookies::HeadersMethods
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
httpx-0.15.4 sig/plugins/cookies.rbs
httpx-0.15.3 sig/plugins/cookies.rbs
httpx-0.15.2 sig/plugins/cookies.rbs
httpx-0.15.1 sig/plugins/cookies.rbs
httpx-0.15.0 sig/plugins/cookies.rbs
httpx-0.14.5 sig/plugins/cookies.rbs
httpx-0.14.4 sig/plugins/cookies.rbs
httpx-0.14.3 sig/plugins/cookies.rbs
httpx-0.14.2 sig/plugins/cookies.rbs
httpx-0.14.1 sig/plugins/cookies.rbs
httpx-0.14.0 sig/plugins/cookies.rbs
httpx-0.13.2 sig/plugins/cookies.rbs
httpx-0.13.1 sig/plugins/cookies.rbs
httpx-0.13.0 sig/plugins/cookies.rbs