MCPcopy Index your code
hub / github.com/zalando/skipper / convertRequest

Function convertRequest

proxy/debug.go:51–59  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

49}
50
51func convertRequest(r *http.Request) *debugRequest {
52 return &debugRequest{
53 Method: r.Method,
54 Uri: r.RequestURI,
55 Proto: r.Proto,
56 Header: r.Header,
57 Host: r.Host,
58 RemoteAddress: r.RemoteAddr}
59}
60
61func convertBody(body io.Reader) (string, string) {
62 b, err := io.ReadAll(body)

Callers 1

convertDebugInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…