File: cookie.rbs

package info (click to toggle)
ruby-webrick 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 756 kB
  • sloc: ruby: 7,781; sh: 4; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 710 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module WEBrick
  class Cookie
    @expires: String?

    attr_reader name: String?

    attr_accessor value: String?

    attr_accessor version: Integer

    #
    # The cookie domain
    attr_accessor domain: String?

    attr_accessor path: String?

    attr_accessor secure: true?

    attr_accessor comment: String?

    attr_accessor max_age: Integer?

    def initialize: (untyped name, untyped value) -> void

    def expires=: ((Time | _ToS)? t) -> untyped

    def expires: () -> Time?

    def to_s: () -> String

    def self.parse: (String? str) -> Array[instance]?

    def self.parse_set_cookie: (String str) -> instance

    def self.parse_set_cookies: (String str) -> Array[instance]
  end
end