Re: Channels: get IP address of client websocket

2017-02-19 Thread Fabien Millerand
Just for info, it cannot be emulated in the HttpClient for testing, unlike the regular django one where REMOTE_ADDR='IP_ADDRESS' can be passed Le dimanche 19 février 2017 20:56:29 UTC+1, Fabien Millerand a écrit : > > Got it. Sorry and thanks. > > > > Le vendredi 17 février 2017 19:22:27 UTC+1,

Re: Channels: get IP address of client websocket

2017-02-19 Thread Fabien Millerand
Got it. Sorry and thanks. Le vendredi 17 février 2017 19:22:27 UTC+1, Andrew Godwin a écrit : > > It's in the connect message, as message['client']: > http://channels.readthedocs.io/en/latest/asgi.html#connection > > Andrew > > On Fri, Feb 17, 2017 at 10:05 AM, Fabien Millerand > wrote: > >> A

Re: Channels: get IP address of client websocket

2017-02-17 Thread Andrew Godwin
It's in the connect message, as message['client']: http://channels.readthedocs.io/en/latest/asgi.html#connection Andrew On Fri, Feb 17, 2017 at 10:05 AM, Fabien Millerand wrote: > As far as I know I cannot get client websocket public IP address with > channels. > > I even looked into the sessio