Method: XRBP::DSL#websocket

Defined in:
lib/xrbp/dsl/websocket.rb

#websocketObject

Client which may be used to access websocket endpoints.

By default a RoundRobin strategy will be used to cycle through specified endpoints.



13
14
15
# File 'lib/xrbp/dsl/websocket.rb', line 13

def websocket
  @websocket ||= WebSocket::RoundRobin.new *websocket_endpoints
end