Skip to content

Commit

Permalink
Note the :websocket? key in the api-doc for as-channel
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Jul 20, 2015
1 parent 072e80d commit c0ab351
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/immutant/web/async.clj
Expand Up @@ -248,10 +248,10 @@
"Converts the current ring `request` in to an asynchronous channel.
The type of channel created depends on the request - if the request
is a Websocket upgrade request, a Websocket channel will be created.
Otherwise, an HTTP stream channel is created. You interact with both
channel types using the other functions in this namespace, and
through the given `callbacks`.
is a Websocket upgrade request (the :websocket? key is true), a
Websocket channel will be created. Otherwise, an HTTP stream channel
is created. You interact with both channel types using the other
functions in this namespace, and through the given `callbacks`.
The callbacks common to both channel types are:
Expand Down

0 comments on commit c0ab351

Please sign in to comment.