Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure ruby uses top-level WebSocket constant in client.rb. Provides em-websocket compatibility. #1

Merged
merged 1 commit into from Dec 26, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/websocket/eventmachine/client.rb
Expand Up @@ -53,7 +53,7 @@ def initialize(args)
# @private # @private
def post_init def post_init
@state = :connecting @state = :connecting
@handshake = WebSocket::Handshake::Client.new(@args) @handshake = ::WebSocket::Handshake::Client.new(@args)
end end


# Called by EventMachine after connecting. # Called by EventMachine after connecting.
Expand All @@ -67,11 +67,11 @@ def connection_completed
private private


def incoming_frame def incoming_frame
WebSocket::Frame::Incoming::Client ::WebSocket::Frame::Incoming::Client
end end


def outgoing_frame def outgoing_frame
WebSocket::Frame::Outgoing::Client ::WebSocket::Frame::Outgoing::Client
end end


public public
Expand Down