Skip to content

Commit

Permalink
Change is_upgrade -> is_websocket_upgrade in test/mwe.jl.
Browse files Browse the repository at this point in the history
  • Loading branch information
EricForgy committed Feb 7, 2018
1 parent 4caa631 commit 7f261fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mwe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end
HTTP.listen(ip"127.0.0.1", 8000,;
ssl = true,
sslconfig = MbedTLS.SSLConfig(joinpath(dirname(@__FILE__),"cert.pem"), joinpath(dirname(@__FILE__),"key.pem"))) do http
if HTTP.WebSockets.is_upgrade(http.message)
if HTTP.WebSockets.is_websocket_upgrade(http.message)

HTTP.WebSockets.upgrade(http) do client
count = 1
Expand Down

0 comments on commit 7f261fc

Please sign in to comment.