Sounds good. That will abstract the adapter specific stuff out much better

On Sat, Feb 22, 2014 at 12:09 PM, Chris McCord <notifications@github.com>
wrote:

>>  
>> +  defmacro websocket(path, handler, options \\ []) do
> Let's move this to `Phoenix.Router.WebsocketMapper`
> The Router's `__using__` block can just `use Phoenix.Router.WebsocketMapper` similar to the http mapper.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/phoenixframework/phoenix/pull/17/files#r9972273