Skip to content

Commit

Permalink
mention specifically that WebSockets are not available
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 29, 2016
1 parent 0fcdf7f commit 42ff315
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -217,7 +217,8 @@ C<CGI> is supported out of the box and your L<Mojolicious> application will
automatically detect that it is executed as a C<CGI> script. Its use in
production environments is discouraged though, because as a result of how
C<CGI> works, it is very slow and many web servers are making it exceptionally
hard to configure properly.
hard to configure properly. Additionally, many real-time web features, such as
WebSockets, are not avilable.

ScriptAlias / /home/sri/my_app/script/my_app/

Expand All @@ -227,7 +228,8 @@ L<PSGI> is an interface between Perl web frameworks and web servers, and
L<Plack> is a Perl module and toolkit that contains L<PSGI> middleware, helpers
and adapters to web servers. L<PSGI> and L<Plack> are inspired by Python's WSGI
and Ruby's Rack. L<Mojolicious> applications are ridiculously simple to deploy
with L<Plack>.
with L<Plack>, but be aware that many real-time web features, such as
WebSockets, are not available.

$ plackup ./script/my_app

Expand Down

0 comments on commit 42ff315

Please sign in to comment.