MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / NewHTTPQueryResolver

Function NewHTTPQueryResolver

graphql/resolve/resolver.go:685–687  ·  view source on GitHub ↗

NewHTTPQueryResolver creates a resolver that can resolve GraphQL query from an HTTP endpoint

(hc *http.Client)

Source from the content-addressed store, hash-verified

683
684// NewHTTPQueryResolver creates a resolver that can resolve GraphQL query from an HTTP endpoint
685func NewHTTPQueryResolver(hc *http.Client) QueryResolver {
686 return &httpQueryResolver{hc}
687}
688
689// NewHTTPMutationResolver creates a resolver that resolves GraphQL mutation from an HTTP endpoint
690func NewHTTPMutationResolver(hc *http.Client) MutationResolver {

Callers 2

TestCustomHTTPQueryFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCustomHTTPQueryFunction · 0.68