MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / NewHttpTubeFactory

Function NewHttpTubeFactory

fs/contube/http.go:68–70  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

66}
67
68func NewHttpTubeFactory(ctx context.Context) *HttpTubeFactory {
69 return NewHttpTubeFactoryWithIntercept(ctx, DefaultHttpHandler)
70}
71
72func NewHttpTubeFactoryWithIntercept(ctx context.Context, handler HttpHandler) *HttpTubeFactory {
73 return &HttpTubeFactory{

Callers 3

NewServerFunction · 0.92
TestHttpTubeHandleRecordFunction · 0.85

Calls 1

Tested by 2

TestHttpTubeHandleRecordFunction · 0.68