Class: Api2cart::Daemon::ProxyServer
- Inherits:
-
Object
- Object
- Api2cart::Daemon::ProxyServer
- Includes:
- Celluloid::IO
- Defined in:
- lib/api2cart/daemon/proxy_server.rb
Instance Method Summary collapse
Instance Method Details
#run(port) ⇒ Object
7 8 9 |
# File 'lib/api2cart/daemon/proxy_server.rb', line 7 def run(port) accept_connections bind_proxy_socket(port) end |
#run_async(port) ⇒ Object
11 12 13 |
# File 'lib/api2cart/daemon/proxy_server.rb', line 11 def run_async(port) async.accept_connections bind_proxy_socket(port) end |