summaryrefslogtreecommitdiff
path: root/sig/net/hippie.rbs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2026-02-01 01:03:15 -0700
committermo khan <mo@mokhan.ca>2026-02-01 01:03:15 -0700
commitdaae26d301fb6bf1b16a8203f67d440180999c04 (patch)
tree59dddfab9e91b917e6d941a99142da12184cfcf1 /sig/net/hippie.rbs
parent1677068dd80b4beac492376f7743cd07e19b8081 (diff)
chore: add rbs signaturesv1.5.0
Diffstat (limited to 'sig/net/hippie.rbs')
-rw-r--r--sig/net/hippie.rbs29
1 files changed, 29 insertions, 0 deletions
diff --git a/sig/net/hippie.rbs b/sig/net/hippie.rbs
new file mode 100644
index 0000000..477fbe0
--- /dev/null
+++ b/sig/net/hippie.rbs
@@ -0,0 +1,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