MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / get_response

Method get_response

pywebio/platform/adaptor/http.py:81–84  ·  view source on GitHub ↗

获取当前的响应对象,用于在视图函数中返回 Get the current response object

(self)

Source from the content-addressed store, hash-verified

79 pass
80
81 def get_response(self):
82 """获取当前的响应对象,用于在视图函数中返回
83 Get the current response object"""
84 pass
85
86 def get_client_ip(self) -> str:
87 """获取用户的ip

Callers 3

handle_requestMethod · 0.45
handle_request_asyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected