未验证 提交 3b4939ab 编写于 作者: E Esquith Allen 提交者: GitHub

Update authorization.rb

上级 f4876545
......@@ -5,7 +5,7 @@ module Connection
module Authorization
class UnauthorizedError < StandardError; end
# Closes the \WebSocket connection if it is open and returns a 404 "File not Found" response.
# Closes the WebSocket connection if it is open and returns a 404 "File not Found" response.
def reject_unauthorized_connection
logger.error "An unauthorized connection attempt was rejected"
raise UnauthorizedError
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册