websocket support ?

90 views
Skip to first unread message

ChM

unread,
Mar 3, 2012, 3:59:25 AM3/3/12
to Fast Asynchronous Python Web Server
Is it possible to use fapws for websocket or communications with other
network services like a remote DB or logging for instance ?

william opensource4you

unread,
Mar 3, 2012, 7:24:53 AM3/3/12
to fa...@googlegroups.com
Yes, it could be.

per default you have the GET, POST, HEAD and OPTIONS
You can create your own HTTP command.
Check the sample; sample/http_cmd

Please note that if you want to push big data, you have to use the
POST's command.
Other simple values can be provided via the HTTP command it self.

Andrey Grygoryev

unread,
Mar 3, 2012, 3:36:21 PM3/3/12
to fa...@googlegroups.com

But how can we use fapws with web sockets? Does fapws accepts all the requests from single browser connection and wraps them as wsgi requests?

03.03.2012 14:24 пользователь "william opensource4you" <willia...@gmail.com> написал:
Reply all
Reply to author
Forward
0 new messages