Module: WebSocketClient
- Defined in:
- lib/websocket_client/client.rb,
lib/websocket_client/frame_io.rb,
lib/websocket_client/byte_sink.rb,
lib/websocket_client/byte_source.rb,
lib/websocket_client/protocol/ietf_00.rb
Defined Under Namespace
Modules: Protocol Classes: ArrayByteSink, ArrayByteSource, BufferedByteSource, ByteSink, ByteSource, Client, CloseFrame, FrameReader, FrameWriter, SocketByteSink, SocketByteSource, TextFrame
Constant Summary collapse
- DEFAULT_HANDSHAKE =
Protocol::Ietf00
Class Method Summary collapse
Class Method Details
.create(uri, handshake_class = WebSocketClient::DEFAULT_HANDSHAKE, &block) ⇒ Object
11 12 13 |
# File 'lib/websocket_client/client.rb', line 11 def self.create(uri,handshake_class=WebSocketClient::DEFAULT_HANDSHAKE,&block) Client.new(uri, handshake_class, &block) end |