Method: Thin::Backends::UnixServer#initialize
- Defined in:
- lib/thin/backends/unix_server.rb
#initialize(socket) ⇒ UnixServer
Returns a new instance of UnixServer.
8 9 10 11 12 |
# File 'lib/thin/backends/unix_server.rb', line 8 def initialize(socket) raise PlatformNotSupported, 'UNIX domain sockets not available on Windows' if Thin.win? @socket = socket super() end |