class Webtube::BrokenFrame

Indicates that a complete frame could not be read from the underlying TCP connection.

[Webtube::Frame::read_from_socket]

will also give it the

partial frame as a string so it could be further analysed, but this is optional.

Attributes

partial_frame[R]

Public Class Methods

new(message = "no complete WebSocket frame was available", partial_frame = nil) click to toggle source
Calls superclass method
# File lib/webtube.rb, line 885
def initialize message =
        "no complete WebSocket frame was available",
    partial_frame = nil
  super message
  @partial_frame = partial_frame
  return
end