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
|
module Net
module Hippie
VERSION: String
CONNECTION_ERRORS: Array[Class]
def self.logger: () -> untyped
def self.logger=: (untyped) -> untyped
def self.verify_mode: () -> Integer
def self.verify_mode=: (Integer) -> Integer
def self.basic_auth: (String username, String password) -> String
def self.bearer_auth: (String token) -> String
def self.default_client: () -> Client
def self.reset_default_client!: () -> nil
def self.resolve: (String hostname, ?timeout: Integer) -> String?
def self.get: (untyped uri, ?headers: Hash[String, String], ?body: untyped, ?stream: bool) ?{ (untyped) -> void } -> untyped
def self.post: (untyped uri, ?headers: Hash[String, String], ?body: untyped, ?stream: bool) ?{ (untyped) -> void } -> untyped
def self.put: (untyped uri, ?headers: Hash[String, String], ?body: untyped, ?stream: bool) ?{ (untyped) -> void } -> untyped
def self.patch: (untyped uri, ?headers: Hash[String, String], ?body: untyped, ?stream: bool) ?{ (untyped) -> void } -> untyped
def self.delete: (untyped uri, ?headers: Hash[String, String], ?body: untyped, ?stream: bool) ?{ (untyped) -> void } -> untyped
def self.head: (untyped uri, ?headers: Hash[String, String]) ?{ (untyped) -> void } -> untyped
def self.options: (untyped uri, ?headers: Hash[String, String]) ?{ (untyped) -> void } -> untyped
end
end
|