mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 23:36:30 +01:00
Include webclient info in protocol_flags
This commit is contained in:
parent
5c109942d7
commit
9bb0c77a74
2 changed files with 5 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ without arguments starts a full interactive Python console.
|
|||
Default `EvMenu.msg` sends with OOB type="menu" for use with OOB and webclient pane-redirects.
|
||||
- New EvMenu templating system for quickly building simpler EvMenus without as much code.
|
||||
- Add `Command.client_height()` method to match existing `.client_width` (stricako)
|
||||
- Include more Web-client info in `session.protocol_flags`.
|
||||
|
||||
|
||||
## Evennia 0.9 (2018-2019)
|
||||
|
|
|
|||
|
|
@ -119,6 +119,10 @@ class WebSocketClient(WebSocketServerProtocol, Session):
|
|||
self.sessid = old_session.sessid
|
||||
self.sessionhandler.disconnect(old_session)
|
||||
|
||||
self.protocol_flags["CLIENTNAME"] = "Evennia Webclient (websocket)"
|
||||
self.protocol_flags["UTF-8"] = True
|
||||
self.protocol_flags["OOB"] = True
|
||||
|
||||
# watch for dead links
|
||||
self.transport.setTcpKeepAlive(1)
|
||||
# actually do the connection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue