Skip to content

The documentation of server cookie argument seems outdated or incomplete #597

@vldpro

Description

@vldpro

From the documentation of flask-socketio and python-socketio, the cookie argument can set only the name of a cookie.

:param cookie: Name of the HTTP cookie that contains the client session
id. If set to ``None``, a cookie is not sent to the client.
The default is ``'io'``.

However, in engineio docs it seems that we can set the cookie params (httponly, secure etc).

https://github.com/miguelgrinberg/python-engineio/blob/28fe975daf239a2612e59843f06c52a72cfea84b/engineio/server.py#L50-L57

I guess it would be nice for a developer to have the complete information about this argument in python-socketio/flask-socketio libraries because generally don't search engineio repo/documentation in order to find the actual information about class arguments.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions