Sha256: 8a3849e2d2e8af6a677b06a19444ef52fd1ab7920e212f8fdc7c03dede57a981
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 Bytes
Contents
module ActionCable module Connection module Authorization class UnauthorizedError < StandardError; end # 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 end end end end
Version data entries
11 entries across 11 versions & 1 rubygems