fix: make websocket driver callbacks public
This commit is contained in:
parent
26b87b9ead
commit
40cc1a4cf2
|
|
@ -57,6 +57,10 @@ module TurniereE2E
|
|||
websocket_url
|
||||
end
|
||||
|
||||
def write(data)
|
||||
socket.write(data)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :base_url, :socket, :driver
|
||||
|
|
@ -97,10 +101,6 @@ module TurniereE2E
|
|||
"#{uri.scheme}://#{uri.host}:#{uri.port}"
|
||||
end
|
||||
|
||||
def write(data)
|
||||
socket.write(data)
|
||||
end
|
||||
|
||||
def pump_until_open!(timeout: 10)
|
||||
deadline = Time.now + timeout
|
||||
while Time.now < deadline
|
||||
|
|
|
|||
Loading…
Reference in New Issue