Class: WebSocket::Frame::Outgoing::Server

Inherits:
WebSocket::Frame::Outgoing show all
Defined in:
lib/websocket/frame/outgoing/server.rb

Instance Attribute Summary

Attributes inherited from Base

#code, #data, #error, #type, #version

Attributes included from ExceptionHandler

#error

Instance Method Summary collapse

Methods inherited from WebSocket::Frame::Outgoing

#require_sending?, #supported?, #to_s

Methods inherited from Base

#error?, #initialize, #support_type?, #supported_frames

Methods included from NiceInspect

#inspect

Methods included from ExceptionHandler

included

Constructor Details

This class inherits a constructor from WebSocket::Frame::Base

Instance Method Details

#incoming_masking?Boolean

Returns:

  • (Boolean)

7
8
9
# File 'lib/websocket/frame/outgoing/server.rb', line 7

def incoming_masking?
  @handler.masking?
end

#outgoing_masking?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/websocket/frame/outgoing/server.rb', line 11

def outgoing_masking?
  false
end