Sha256: 3d8f0a910a185e01a7c451146612efcd55cea4b3edae8e73ab0bf7cdfc185d26
Contents?: true
Size: 419 Bytes
Versions: 33
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true 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
33 entries across 33 versions & 3 rubygems