Remove ws_routes from route handler

This commit is contained in:
Serdar Dogruyol 2017-09-10 15:45:57 +03:00
parent 5f834f8873
commit e07be72dcf

View file

@ -6,13 +6,10 @@ module Kemal
class RouteHandler class RouteHandler
include HTTP::Handler include HTTP::Handler
INSTANCE = new INSTANCE = new
property http_routes property http_routes
property ws_routes
def initialize def initialize
@http_routes = Radix::Tree(Route).new @http_routes = Radix::Tree(Route).new
@ws_routes = Radix::Tree(String).new
end end
def call(context : HTTP::Server::Context) def call(context : HTTP::Server::Context)