Module | PryRemoteEm::Server |
In: |
lib/pry-remote-em/server.rb
lib/pry-remote-em/server/shell_cmd.rb |
The list of pry-remote-em connections for a given object, or the list of all pry-remote-em connections for this process. The peer list is used when broadcasting messages between connections.
Start a pry-remote-em server @param [Object] obj the object to bind pry to @param [String] ip the ip address to listen on @param [Fixnum, Symbol] port the port to listen on - if :auto the next available port will be taken @param [Hash] opts @option opts [Boolean] :tls require SSL encryption @option opts [Logger] :logger @option opts [Proc, Object] :auth require user authentication - see README @option opts [Boolean] :allow_shell_cmds
Registers a block to call when authentication is attempted. @overload auth_attempt(&blk)
@yield [user, ip] a block to call on each authentication attempt @yieldparam [String] user @yieldparam [String] ip
Registers a block to call when authentication fails. @overload auth_fail(&blk)
@yield [user, ip] a block to call after each failed authentication attempt @yieldparam [String] user @yieldparam [String] ip
Registers a block to call when authentication succeeds. @overload auth_ok(&blk)
@yield [user, ip] a block to call after each successful authentication attempt @yieldparam [String] user @yieldparam [String] ip