MCPcopy Create free account
hub / github.com/Jigsaw-Code/Intra / doQuery

Method doQuery

Android/app/src/go/doh/doh.go:254–315  ·  view source on GitHub ↗

Given a raw DNS query (including the query ID), this function sends the query. If the query is successful, it returns the response and a nil qerr. Otherwise, it returns a SERVFAIL response and a qerr with a status value indicating the cause. Independent of the query's success or failure, this func

(ctx context.Context, q []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

QueryMethod · 0.95

Calls 6

sendRequestMethod · 0.95
tryServfailFunction · 0.85
AddEdnsPaddingFunction · 0.85
AddMethod · 0.80
ConfirmMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected