module Patch::IO::Websocket
Constants
- KEY
Key that will be used by
Patch
to identify the module
Public Instance Methods
new_from_config(config, options = {})
click to toggle source
Construct a websocket from a node config @param [Hash] config @param [Hash] options @param [Hash] @option properties [Log] :log
# File lib/patch/io/websocket.rb, line 21 def new_from_config(config, options = {}) ::Patch::IO::Websocket::Node.new(config[:id], config[:host], config[:port], options) end