MCPcopy
hub / github.com/QuantumNous/new-api / HTTPClient

Interface HTTPClient

pkg/ionet/types.go:15–17  ·  view source on GitHub ↗

HTTPClient interface for making HTTP requests

Source from the content-addressed store, hash-verified

13
14// HTTPClient interface for making HTTP requests
15type HTTPClient interface {
16 Do(req *HTTPRequest) (*HTTPResponse, error)
17}
18
19// HTTPRequest represents an HTTP request
20type HTTPRequest struct {

Callers 8

FetchUpstreamRatiosFunction · 0.65
GetResponseBodyFunction · 0.65
VideoProxyFunction · 0.65
FetchModelsFunction · 0.65
genCreemLinkFunction · 0.65
getHTTPClientFunction · 0.65

Implementers 1

DefaultHTTPClientpkg/ionet/client.go

Calls

no outgoing calls

Tested by

no test coverage detected