Class: SockJS::PollingConsumingTransport
- Inherits:
-
ConsumingTransport
- Object
- Endpoint
- SessionEndpoint
- Transport
- ConsumingTransport
- SockJS::PollingConsumingTransport
- Defined in:
- lib/sockjs/transport.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Endpoint
#connection, #http_origin, #options, #remote_addr
Attributes included from Endpoint::ClassMethods
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
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
321 322 323 324 |
# File 'lib/sockjs/transport.rb', line 321 def process_session(session, response) super #response.finish end |