MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / ToHTTPClient

Method ToHTTPClient

mcp/mock_test.go:138–142  ·  view source on GitHub ↗

ToHTTPClient converts to http.Client

()

Source from the content-addressed store, hash-verified

136
137// ToHTTPClient converts to http.Client
138func (m *MockHTTPClient) ToHTTPClient() *http.Client {
139 return &http.Client{
140 Transport: m,
141 }
142}
143
144// RoundTrip implements http.RoundTripper interface
145func (m *MockHTTPClient) RoundTrip(req *http.Request) (*http.Response, error) {

Calls

no outgoing calls

Tested by

no test coverage detected