sig/httpx.rbs in httpx-1.2.6 vs sig/httpx.rbs in httpx-1.3.0
- old
+ new
@@ -7,12 +7,12 @@
type http_uri = URI::HTTP | URI::HTTPS
type uri = http_uri | string
type generic_uri = String | URI::Generic
- type verb = "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "CONNECT" |
- "PROPFIND" | "PROPPATCH" | "MKCOL" | "COPY" | "MOVE" | "LOCK" | "UNLOCK" | "ORDERPATCH" |
- "ACL" | "REPORT" | "PATCH" | "SEARCH"
+ type verb = String
+
+ type request_params = Hash[Symbol, untyped]
type ip_family = Integer #Socket::AF_INET6 | Socket::AF_INET
module Plugins
def self?.load_plugin: (Symbol) -> Module
\ No newline at end of file