MCPcopy Create free account
hub / github.com/eth-easl/dirigent / BufferedRequest

Struct BufferedRequest

internal/data_plane/proxy/requests/requests.go:39–62  ·  view source on GitHub ↗

TODO: Find minimal set of values we need to replicate

Source from the content-addressed store, hash-verified

37
38// TODO: Find minimal set of values we need to replicate
39type 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
64type BufferedResponse struct {
65 StatusCode int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected