class MiddleSquid::Backends::Thin
Exposes the signature of Thin's TCP socket.
@example Extract the current host and port
sockname = EM.get_sockname @thin.backend.signature @port, @host = Socket.unpack_sockaddr_in sockname
Attributes
signature[R]
Public Class Methods
new(host, port, options)
click to toggle source
Calls superclass method
# File lib/middle_squid/backends/thin.rb, line 10 def initialize(host, port, options) super host, port end