Skip to content

Commit

Permalink
Explicitly require URI schemes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Oct 11, 2024
1 parent b185db3 commit 5484d1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/async/http/endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
require_relative "protocol/http"
require_relative "protocol/https"

require "uri"

# Compatibility with Ruby 3.1.2
require "uri/wss"

module Async
module HTTP
# Represents a way to connect to a remote HTTP server.
Expand Down

0 comments on commit 5484d1e

Please sign in to comment.