Tornado 6.5 Documentation
format used by gettext [https://docs.python.org/3/library/gettext.html#module-gettext] and related tools, and a simple .csv format. An application will generally call either tornado.locale.load_translations supported by gettext [https://docs.python.org/3/library/gettext.html#module-gettext] and related tools). If neither method is called, the Locale.translate method will simply return the original string This module implements the final version of the WebSocket protocol as defined in RFC 6455 [http://tools.ietf.org/html/rfc6455]. Changed in version 4.0: Removed support for the draft 76 protocol version0 码力 | 437 页 | 405.14 KB | 2 月前3Tornado 6.5 Documentation
locale module supports loading translations in two formats: the .mo format used by gettext and related tools, and a simple .csv format. An application will generally call either tornado.locale. load_translations format) or load_gettext_translations (which uses the .mo format supported by gettext and related tools). If nei- ther method is called, the Locale.translate method will simply return the original string org/html5/websockets/ for details on the JavaScript interface. The protocol is specified at http://tools.ietf.org/html/rfc6455. Here is an example WebSocket handler that echos back all received messages0 码力 | 272 页 | 1.12 MB | 2 月前3
共 2 条
- 1
相关搜索词