TODO: Find minimal set of values we need to replicate
| 37 | |
| 38 | // TODO: Find minimal set of values we need to replicate |
| 39 | type BufferedRequest struct { |
| 40 | Method string |
| 41 | URL *url.URL |
| 42 | Proto string |
| 43 | ProtoMajor int |
| 44 | ProtoMinor int |
| 45 | Header http.Header |
| 46 | Body string |
| 47 | ContentLength int64 |
| 48 | TransferEncoding []string |
| 49 | Close bool |
| 50 | Host string |
| 51 | Form url.Values |
| 52 | PostForm url.Values |
| 53 | MultipartForm *multipart.Form |
| 54 | Trailer http.Header |
| 55 | RemoteAddr string |
| 56 | // Async parameter |
| 57 | Code string |
| 58 | NumberTries int |
| 59 | Start time.Time |
| 60 | SerializationDuration time.Duration |
| 61 | PersistenceDuration time.Duration |
| 62 | } |
| 63 | |
| 64 | type BufferedResponse struct { |
| 65 | StatusCode int |
nothing calls this directly
no outgoing calls
no test coverage detected