MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / new_default_forward_proxy_handler

Function new_default_forward_proxy_handler

net/http/server.cpp:402–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402HTTPHandler* new_default_forward_proxy_handler(uint64_t timeout) {
403 auto c = new_http_client();
404 c->timeout(timeout);
405 return new ForwardProxyHandler(c, true);
406}
407
408
409} // namespace http

Callers 1

mainFunction · 0.85

Calls 2

new_http_clientFunction · 0.85
timeoutMethod · 0.45

Tested by 1

mainFunction · 0.68