Module: WsClient
- Defined in:
- lib/ws_client.rb,
lib/ws_client/version.rb
Defined Under Namespace
Classes: AsyncClient, Client
Constant Summary
collapse
- VERSION =
"0.1.5"
Class Method Summary
collapse
Class Method Details
.connect(url, options = {}) {|client| ... } ⇒ Object
10
11
12
13
14
15
|
# File 'lib/ws_client.rb', line 10
def self.connect(url, options={})
client = ::WsClient::Client.new
yield client if block_given?
client.connect url, options
return client
end
|