module Mongrel2::WebSocket::FrameMethods

A mixin containing methods for request/response classes that wrap a Frame.

Attributes

frame[R]

The Websocket data as a Mongrel2::WebSocket::Frame

Public Instance Methods

<<( object ) click to toggle source

Append operator – append object to the contained frame's payload and return the receiver.

# File lib/mongrel2/websocket.rb, line 231
def <<( object )
        self.frame << object
        return self
end
inspect_details() click to toggle source

Return the details to include in the contents of the inspected object.

# File lib/mongrel2/websocket.rb, line 238
def inspect_details
        return "frame: %p" % [ self.frame ]
end