Skip to content

Commit 5484d1e

Browse files
committed
Explicitly require URI schemes.
1 parent b185db3 commit 5484d1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/async/http/endpoint.rb

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
require_relative "protocol/http"
1515
require_relative "protocol/https"
1616

17+
require "uri"
18+
19+
# Compatibility with Ruby 3.1.2
20+
require "uri/wss"
21+
1722
module Async
1823
module HTTP
1924
# Represents a way to connect to a remote HTTP server.

0 commit comments

Comments
 (0)