Sha256: 60db76e37ff0a06af49e927a7b61a9b2e65e662033fac77ca1ef65a5997810f6

Contents?: true

Size: 839 Bytes

Versions: 6

Compression:

Stored size: 839 Bytes

Contents

# frozen_string_literal: true

require "anycable/config"
# Make sure Rails extensions for Anyway Config are loaded
# See https://github.com/anycable/anycable-rails/issues/63
require "anyway/rails"

# Extend AnyCable configuration with:
# - `access_logs_disabled` (defaults to true) — whether to print Started/Finished logs
# - `persistent_session_enabled` (defaults to false) — whether to store session changes in the connection state
# - `embedded` (defaults to false) — whether to run RPC server inside a Rails server process
# - `http_rpc_mount_path` (default to nil) — path to mount HTTP RPC server
AnyCable::Config.attr_config(
  access_logs_disabled: true,
  persistent_session_enabled: false,
  embedded: false,
  http_rpc_mount_path: nil
)
AnyCable::Config.ignore_options :access_logs_disabled, :persistent_session_enabled

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
anycable-rails-core-1.4.1 lib/anycable/rails/config.rb
anycable-rails-core-1.4.0 lib/anycable/rails/config.rb
anycable-rails-1.4.0 lib/anycable/rails/config.rb
anycable-rails-1.4.0.rc.4 lib/anycable/rails/config.rb
anycable-rails-1.4.0.rc.3 lib/anycable/rails/config.rb
anycable-rails-1.4.0.rc.2 lib/anycable/rails/config.rb