()
| 253 | |
| 254 | func (cr *captureReceiver) URL() string { return cr.srv.URL } |
| 255 | func (cr *captureReceiver) Close() { cr.srv.Close() } |
| 256 | func (cr *captureReceiver) Count() int { cr.mu.Lock(); defer cr.mu.Unlock(); return len(cr.requests) } |
| 257 | func (cr *captureReceiver) handle(w http.ResponseWriter, r *http.Request) { |
| 258 | body, _ := io.ReadAll(r.Body) |
no outgoing calls
no test coverage detected