Exception: Kontena::Websocket::EOFError

Inherits:
CloseError show all
Defined in:
lib/kontena/websocket/error.rb

Overview

Server closed connection without sending close frame

Instance Attribute Summary

Attributes inherited from CloseError

#code, #reason

Instance Method Summary collapse

Methods inherited from CloseError

#to_s

Constructor Details

#initialize(message = nil) ⇒ EOFError

Returns a new instance of EOFError.



77
78
79
# File 'lib/kontena/websocket/error.rb', line 77

def initialize(message = nil)
  super(1006, message)
end