Sha256: 82c3320a2a18104b4287715a556a1a1246d864be88084b24232f488741f31c59
Contents?: true
Size: 429 Bytes
Versions: 23
Compression:
Stored size: 429 Bytes
Contents
module Thin module Backends class TcpServerWithCallbacks < TcpServer def initialize(host, port, options) super(host, port) end def connect super Thin::Callbacks.after_connect_callbacks.each { |callback| callback.call } end def disconnect Thin::Callbacks.before_disconnect_callbacks.each { |callback| callback.call } super end end end end
Version data entries
23 entries across 23 versions & 2 rubygems