Sha256: 6e5c1f005ce4d8d4721dd6c327db9ce605ed31f889a92da84e9816658f3498a3

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

require 'isomorfeus-policy'
require 'lucid_authentication/mixin'
if RUBY_ENGINE == 'opal'
  require 'json'
  require 'isomorfeus/config'
  require 'isomorfeus/execution_environment'
  require 'isomorfeus/transport/version'
  require 'isomorfeus/transport/config'
  require 'isomorfeus/transport/request_agent'
  require 'isomorfeus/transport/client_processor'
  require 'isomorfeus/transport/websocket'
  require 'isomorfeus/transport'
  require 'lucid_channel/mixin'
  require 'lucid_channel/base'
  Isomorfeus.zeitwerk.push_dir('channels')
  Isomorfeus.add_client_init_class_name('Isomorfeus::Transport')
else
  require 'base64'
  require 'digest'
  require 'ostruct'
  require 'socket'
  require 'oj'
  require 'websocket/driver'
  require 'active_support'
  require 'iodine'
  require 'isomorfeus/transport/thread_session_store'
  require 'isomorfeus/config'
  require 'isomorfeus/promise'
  require 'isomorfeus/transport/version'
  require 'isomorfeus/transport/response_agent'
  require 'isomorfeus/transport/config'
  require 'isomorfeus/transport/middlewares'
  require 'isomorfeus/transport/request_agent'
  require 'isomorfeus/transport/server_processor'
  require 'isomorfeus/transport/server_socket_processor'
  require 'isomorfeus/transport/websocket'

  require 'isomorfeus/transport/rack_middleware'
  require 'isomorfeus/transport/middlewares'

  Isomorfeus.add_middleware(Isomorfeus::Transport::RackMiddleware)

  require 'lucid_handler/mixin'
  require 'lucid_handler/base'
  require 'lucid_channel/mixin'
  require 'lucid_channel/base'

  require 'isomorfeus/transport/handler/authentication_handler'

  Opal.append_path(__dir__.untaint) unless Opal.paths.include?(__dir__.untaint)

  %w[channels handlers server].each do |dir|
    path =  File.expand_path(File.join('app', dir))
    if Dir.exist?(path)
      Isomorfeus.zeitwerk.push_dir(path)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
isomorfeus-transport-1.0.0.zeta16 lib/isomorfeus-transport.rb
isomorfeus-transport-1.0.0.zeta15 lib/isomorfeus-transport.rb