File: utils.rbs

package info (click to toggle)
ruby-httpx 1.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,816 kB
  • sloc: ruby: 12,209; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module HTTPX
  module Utils
    TOKEN: Regexp
    VALUE: Regexp
    FILENAME_REGEX: Regexp
    FILENAME_EXTENSION_REGEX: Regexp
    URIParser: URI::RFC2396_Parser

    def self?.parse_retry_after: (String) -> Numeric

    def self?.now: () -> Float

    def self?.elapsed_time: (Integer | Float monotonic_time) -> Float

    def self?.to_uri: (generic_uri uri) -> URI::Generic

    def self?.get_filename: (String header) -> String?

    def self?.in_ractor?: () -> bool
  end
end