MCPcopy Create free account
hub / github.com/gavv/httpexpect / Request

Method Request

printer.go:55–59  ·  view source on GitHub ↗

Request implements Printer.Request.

(req *http.Request)

Source from the content-addressed store, hash-verified

53
54// Request implements Printer.Request.
55func (p CompactPrinter) Request(req *http.Request) {
56 if req != nil {
57 p.logger.Logf("%s %s", req.Method, req.URL)
58 }
59}
60
61// Response implements Printer.Response.
62func (CompactPrinter) Response(*http.Response, time.Duration) {

Callers 1

TestPrinter_CompactFunction · 0.95

Calls 1

LogfMethod · 0.65

Tested by 1

TestPrinter_CompactFunction · 0.76