MCPcopy Create free account
hub / github.com/boy-hack/hack-requests / _callback

Function _callback

tests/test_http_raw_pool.py:9–11  ·  view source on GitHub ↗
(r: HackRequests.response)

Source from the content-addressed store, hash-verified

7
8
9def _callback(r: HackRequests.response):
10 # 从回调函数取出结果,参数r是response结果
11 print(len(r.text()))
12
13
14threadpool = HackRequests.threadpool(threadnum=10, callback=_callback, timeout=10)

Callers

nothing calls this directly

Calls 1

textMethod · 0.80

Tested by

no test coverage detected