Class: SockJS::PollingConsumingTransport

Inherits:
ConsumingTransport show all
Defined in:
lib/sockjs/transport.rb

Direct Known Subclasses

Transports::JSONP, Transports::XHRPost

Instance Attribute Summary

Attributes inherited from Endpoint

#connection, #options

Attributes included from Endpoint::ClassMethods

#method, #prefix

Instance Method Summary collapse

Methods inherited from ConsumingTransport

#closing_frame, #finish_response, #format_frame, #get_session, #heartbeat_frame, #messages_frame, #opening_frame, #request_closed, #send_data

Methods inherited from Transport

#exception_response, #handle_request, #handle_session_unavailable, #request_data, #response_beginning, #server_key, #session_key

Methods inherited from SessionEndpoint

routing_prefix

Methods inherited from Endpoint

#build_error_response, #build_response, #call, #empty_string, #error_content_type, #format_frame, #handle, #handle_http_error, #handle_request, #initialize, #inspect, #response_class, #setup_response

Methods included from Endpoint::ClassMethods

#add_route, #add_routes, #endpoints, #register, #route_conditions, #routing_prefix

Constructor Details

This class inherits a constructor from SockJS::Endpoint

Instance Method Details

#process_session(session, response) ⇒ Object



316
317
318
319
# File 'lib/sockjs/transport.rb', line 316

def process_session(session, response)
  super
  #response.finish
end