imanel/websocket-ruby

View on GitHub
lib/websocket/frame/outgoing/server.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module WebSocket
  module Frame
    class Outgoing
      class Server < Outgoing
        def incoming_masking?
          @handler.masking?
        end

        def outgoing_masking?
          false
        end
      end
    end
  end
end