Sha256: 1f8bde9764327aa1079299a3c7960fe2f711b113561275c67306b8120f8f4263
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
# -*- coding: binary -*- module Rex module Proto module Http ### # # This class acts as the base class for all handlers. # ### class Handler require 'rex/proto/http/handler/erb' require 'rex/proto/http/handler/proc' # # Initializes the handler instance as being associated with the supplied # server. # def initialize(server) self.server = server end # # By default, handlers do not require a relative resource. # def self.relative_resource_required? false end # # Calls the class method. # def relative_resource_required? self.class.relative_resource_required? end protected attr_accessor :server # :nodoc: end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/proto/http/handler.rb |
librex-0.0.66 | lib/rex/proto/http/handler.rb |