Module: Caldecott::Client
- Defined in:
- lib/caldecott-client/client.rb,
lib/caldecott-client/version.rb,
lib/caldecott-client/tunnel/tunnel.rb,
lib/caldecott-client/tunnel/http_tunnel.rb
Defined Under Namespace
Classes: CaldecottClient, HttpTunnel, Tunnel
Constant Summary collapse
- BUFFER_SIZE =
1Mb
1024 * 1024
- SOCKET_TIMEOUT =
30s
30000- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.start(options) ⇒ Object
44 45 46 47 |
# File 'lib/caldecott-client/client.rb', line 44 def self.start() @client = CaldecottClient.new() @client.start end |
.stop ⇒ Object
49 50 51 |
# File 'lib/caldecott-client/client.rb', line 49 def self.stop @client.close if @client end |