PyWebIO v1.1.0 使用手册比如 'http://localhost:8080' . 可能为 空,但保证当用户的页面地址不在当前服务器下(即 主机、端口部分和 server_host 不一致)时有值. user_ip (str): 用户的ip地址. backend (str): 当前PyWebIO使用的后端Server实现. 可 能出现的值有 'tornado' , 'flask' , 'django' , 'aiohttp' 。 port (int) – 服务监听的端口。设置为 0 时,表示自动选 择可用端口。 host (str) – 服务绑定的地址。 host 可以是IP地址或者为 hostname。如果为hostname,服务会监听所有与该 hostname关联的IP地址。 通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 debug (bool) – 是否开启Tornado Server的debug模式,开 参数 port (int) – 服务监听的端口。设置为 0 时,表示自动选 择可用端口。 host (str) – 服务绑定的地址。 host 可以是IP地址或者为 hostname。如果为hostname,服务会监听所有与该 hostname关联的IP地址。 通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 cdn (bool/str) – 是否从CDN加载前端静态资源,默认为0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.1.0 使用手册'http:// localhost:8080' . 可能为空,但保证当用户的页面地址不在当前服务器下 (即主 机、端口部分和 server_host 不一致) 时有值. • user_ip (str): 用户的 ip 地址. • backend (str): 当前 PyWebIO 使用的后端 Server 实现. 可能出现的值有 'tornado' , 'flask' , 'django' , port (int) –服务监听的端口。设置为 0 时,表示自动选择可用端口。 • host (str) –服务绑定的地址。host 可以是 IP 地址或者为 hostname。如果为 host- name,服务会监听所有与该 hostname 关联的 IP 地址。通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 • debug (bool) –是否开启 Tornado port (int) –服务监听的端口。设置为 0 时,表示自动选择可用端口。 • host (str) –服务绑定的地址。host 可以是 IP 地址或者为 hostname。如果为 host- name,服务会监听所有与该 hostname 关联的 IP 地址。通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 4.5. pywebio.platform —Web0 码力 | 98 页 | 1.73 MB | 1 年前3
PyWebIO v1.0.3 使用手册比如 'http://localhost:8080' . 可能为 空,但保证当用户的页面地址不在当前服务器下(即 主机、端口部分和 server_host 不一致)时有值. user_ip (str): 用户的ip地址. backend (str): PyWebIO使用的Web框架名. 目前可用值 有 'tornado' , 'flask' , 'django' , 'aiohttp' . request 。 port (int) – 服务监听的端口。设置为 0 时,表示自动选 择可用端口。 host (str) – 服务绑定的地址。 host 可以是IP地址或者为 hostname。如果为hostname,服务会监听所有与该 hostname关联的IP地址。 通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 debug (bool) – Tornado Server是否开启debug模式 参数 port (int) – 服务监听的端口。设置为 0 时,表示自动选 择可用端口。 host (str) – 服务绑定的地址。 host 可以是IP地址或者为 hostname。如果为hostname,服务会监听所有与该 hostname关联的IP地址。 通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 allowed_origins (list) – 除当前域名外,服务器还允许的请求的来源列表。0 码力 | 106 页 | 7.34 MB | 1 年前3
PyWebIO v1.0.3 使用手册'http:// localhost:8080' . 可能为空,但保证当用户的页面地址不在当前服务器下 (即主 机、端口部分和 server_host 不一致) 时有值. • user_ip (str): 用户的 ip 地址. • backend (str): PyWebIO 使用的 Web 框架名. 目前可用值有 'tornado' , 'flask' , 'django' , 'aiohttp' Chapter 4. Documentation PyWebIO, 发布 1.0.3 • host (str) –服务绑定的地址。host 可以是 IP 地址或者为 hostname。如果为 host- name,服务会监听所有与该 hostname 关联的 IP 地址。通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 • debug (bool) –Tornado Server port (int) –服务监听的端口。设置为 0 时,表示自动选择可用端口。 • host (str) –服务绑定的地址。host 可以是 IP 地址或者为 hostname。如果为 host- name,服务会监听所有与该 hostname 关联的 IP 地址。通过设置 host 为空字符串或 None 来将服务绑定到所有可用的地址上。 60 Chapter 4. Documentation0 码力 | 94 页 | 1.71 MB | 1 年前5
PyWebIO v0.3.0 使用手册'http://localhost:8080' . 可 能为空,但保证当用户的页面地址不在当前服务器 下(即 主机、端口部分和 server_host 不一致)时有 值. user_ip (str): 用户的ip地址. backend (str): PyWebIO使用的Web框架名. 目前可用 值有 'tornado' , 'flask' , 'django' , 'aiohttp' . request numbe to use host (str) – server bind host. host may be either an IP address or hostname. If it’s a hostname, the server will liste on all IP addresses associated with the name. set empty string or to listen bind port. set 0 to find a free port numbe to use host (str) – server bind host. host may be either an IP address or hostname. If it’s a hostname, allowed_origins (list) – 除当前域名外,服务器还允许的请求的来源列表。 来源 包含协议和域名和端口部分,允许使用0 码力 | 72 页 | 8.55 MB | 1 年前3
PyWebIO v0.3.0 使用手册'http:// localhost:8080' . 可能为空,但保证当用户的页面地址不在当前服务器下 (即主 机、端口部分和 server_host 不一致) 时有值. • user_ip (str): 用户的 ip 地址. • backend (str): PyWebIO 使用的 Web 框架名. 目前可用值有 'tornado' , 'flask' , 'django' , 'aiohttp' to use • host (str) –server bind host. host may be either an IP address or hostname. If it’s a hostname, the server will listen on all IP addresses associated with the name. set empty string or to listen port. set 0 to find a free port number to use • host (str) –server bind host. host may be either an IP address or hostname. If it’s a hostname, • allowed_origins (list) –除当前域名外,服务器还允许的请求的来源列表。来 源包含协议和域名和端口部分,允许使用0 码力 | 70 页 | 1.41 MB | 1 年前3
PyWebIO v1.4.0 Documentationcurrent session. The info object provides a lot information about the current session, such as the user IP address, user language and user browser information. local is a session-local storage, it used to save under the server host. (that is, the host, port part are inconsistent with server_host). user_ip (str): User’s ip address. backend (str): The current PyWebIO backend server implementation. The possible values str(getattr(session_info, k)) for k in ['user_agent', 'user_language', 'server_host', 'origin', 'user_ip', 'backend', 'protocol', 'request'] }, indent=4), 'json') Parameters: Returns: Parameters: run_async()0 码力 | 135 页 | 7.45 MB | 1 年前3
PyWebIO v1.6.2 Documentationcurrent session. The info object provides a lot information about the current session, such as the user IP address, user language and user browser information. local is a session-local storage, it used to save under the server host. (that is, the host, port part are inconsistent with server_host). user_ip (str): User’s ip address. backend (str): The current PyWebIO backend server implementation. The possible values str(getattr(session_info, k)) for k in ['user_agent', 'user_language', 'server_host', 'origin', 'user_ip', 'backend', 'protocol', 'request'] }, indent=4), 'json') Parameters: Returns: Parameters: run_async()0 码力 | 148 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.1 Documentationcurrent session. The info object provides a lot information about the current session, such as the user IP address, user language and user browser information. local is a session-local storage, it used to save under the server host. (that is, the host, port part are inconsistent with server_host). user_ip (str): User’s ip address. backend (str): The current PyWebIO backend server implementation. The possible values str(getattr(session_info, k)) for k in ['user_agent', 'user_language', 'server_host', 'origin', 'user_ip', 'backend', 'protocol', 'request'] }, indent=4), 'json') Parameters: Returns: Parameters: run_async()0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.6.1 Documentationcurrent session. The info object provides a lot information about the current session, such as the user IP address, user language and user browser information. local is a session-local storage, it used to save under the server host. (that is, the host, port part are inconsistent with server_host). user_ip (str): User’s ip address. backend (str): The current PyWebIO backend server implementation. The possible values str(getattr(session_info, k)) for k in ['user_agent', 'user_language', 'server_host', 'origin', 'user_ip', 'backend', 'protocol', 'request'] }, indent=4), 'json') Parameters: Returns: Parameters: run_async()0 码力 | 148 页 | 7.46 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













