Sha256: d50e252550d2a550002be49b910ab84bd37c03ce1ce478852f08c33d4ee84261

Contents?: true

Size: 628 Bytes

Versions: 8

Compression:

Stored size: 628 Bytes

Contents

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

      interface _CookieOptions
        def cookies: () -> Jar?
        def cookies=: (jar) -> Jar
        def with_cookies: (jar) -> instance
      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

8 entries across 8 versions & 1 rubygems

Version Path
httpx-0.12.0 sig/plugins/cookies.rbs
httpx-0.11.3 sig/plugins/cookies.rbs
httpx-0.11.2 sig/plugins/cookies.rbs
httpx-0.11.1 sig/plugins/cookies.rbs
httpx-0.11.0 sig/plugins/cookies.rbs
httpx-0.10.2 sig/plugins/cookies.rbs
httpx-0.10.1 sig/plugins/cookies.rbs
httpx-0.10.0 sig/plugins/cookies.rbs