MCPcopy Create free account
hub / github.com/cloudwan/gohan / Request

Method Request

extension/goext/http.go:34–34  ·  view source on GitHub ↗

Request performs http request

(ctx context.Context, method, rawURL string, headers map[string]interface{}, postData interface{}, opaque bool)

Source from the content-addressed store, hash-verified

32type IHTTP interface {
33 // Request performs http request
34 Request(ctx context.Context, method, rawURL string, headers map[string]interface{}, postData interface{}, opaque bool) (*Response, error)
35 // RequestRaw performs raw http request
36 RequestRaw(ctx context.Context, method, rawURL string, headers map[string]string, rawData string) (*Response, error)
37}

Callers 3

requestMethod · 0.65
getResourceIDMethod · 0.65
getSchemasMethod · 0.65

Implementers 3

MockIHTTPextension/goext/environment_mock_gen.g
MockIHTTPMockRecorderextension/goext/environment_mock_gen.g
HTTPextension/goplugin/http.go

Calls

no outgoing calls

Tested by

no test coverage detected