Class: SockJS::SessionEndpoint
- Defined in:
- lib/sockjs/transport.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Endpoint
Attributes included from Endpoint::ClassMethods
Class Method Summary collapse
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
Class Method Details
.routing_prefix ⇒ Object
192 193 194 195 |
# File 'lib/sockjs/transport.rb', line 192 def self.routing_prefix legal_key_regexp = %r{[^./]+} ::Rack::Mount::Strexp.new("/:server_key/:session_key/#{self.prefix}", {:server_key => legal_key_regexp, :session_key => legal_key_regexp}) end |