We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2e0f7 commit 5bb92d9Copy full SHA for 5bb92d9
fixtures/server_context.rb
@@ -10,7 +10,6 @@
10
require 'async/http/server'
11
require 'async/http/client'
12
require 'async/http/endpoint'
13
-require 'async/io/shared_endpoint'
14
require 'async/websocket/adapters/http'
15
require 'async/websocket/client'
16
@@ -64,7 +63,7 @@ def before
64
63
@client = Async::HTTP::Client.new(endpoint, protocol: endpoint.protocol, retries: retries)
65
66
# We bind the endpoint before running the server so that we know incoming connections will be accepted:
67
- @bound_endpoint = Async::IO::SharedEndpoint.bound(endpoint)
+ @bound_endpoint = endpoint.bound
68
69
# I feel a dedicated class might be better than this hack:
70
mock(@bound_endpoint) do |mock|
0 commit comments