Sha256: 0911e2bcccc717f9c521f86cb2f79a020f07d435a65965d5d51dffe5dc0d0514

Contents?: true

Size: 831 Bytes

Versions: 3

Compression:

Stored size: 831 Bytes

Contents

require 'rocketamf/pure/deserializer'
require 'rocketamf/pure/serializer'
require 'rocketamf/pure/remoting'

module RocketAMF
  # This module holds all the modules/classes that implement AMF's functionality
  # in pure ruby
  module Pure
    $DEBUG and warn "Using pure library for RocketAMF."
  end

  #:stopdoc:
  # Import deserializer
  Deserializer = RocketAMF::Pure::Deserializer
  AMF3Deserializer = RocketAMF::Pure::AMF3Deserializer

  # Import serializer
  Serializer = RocketAMF::Pure::Serializer
  AMF3Serializer = RocketAMF::Pure::AMF3Serializer

  # Modify request and response so they can serialize/deserialize
  class Request
    remove_method :populate_from_stream
    include RocketAMF::Pure::Request
  end

  class Response
    remove_method :serialize
    include RocketAMF::Pure::Response
  end
  #:startdoc:
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
RocketAMF-0.1.0 lib/rocketamf/pure.rb
RocketAMF-0.0.7 lib/rocketamf/pure.rb
RocketAMF-0.0.6 lib/rocketamf/pure.rb