class Thin::Backends::UnixServer

Public Instance Methods

connect()
Also aliased as: connect_without_callbacks
connect_with_callbacks() click to toggle source
# File lib/garbageman/ext/thin.rb, line 37
def connect_with_callbacks
  Thin::Server.run_before_startup_callbacks
  connect_without_callbacks.tap do
    Thin::Backends::Base.server_index = @socket.to_s.sub(/^.*?\.(\d+)\.sock$/, '\\1').to_i
    Thin::Server.run_after_startup_callbacks
  end
end
Also aliased as: connect
connect_without_callbacks()
Alias for: connect