method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Configuration
new() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/server/configuration.rb, line 19
      def initialize
        @log_tags = []

        @connection_class = -> { ActionCable::Connection::Base }
        @worker_pool_size = 4

        @disable_request_forgery_protection = false
        @allow_same_origin_as_host = true
        @filter_parameters = []

        @health_check_application = ->(env) {
          [200, { Rack::CONTENT_TYPE => "text/html", "date" => Time.now.httpdate }, []]
        }
      end
Register or log in to add new notes.