MCPcopy
hub / github.com/grafana/dskit / GetBody

Method GetBody

httpgrpc/httpgrpc.pb.go:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (m *HTTPRequest) GetBody() []byte {
94 if m != nil {
95 return m.Body
96 }
97 return nil
98}
99
100type HTTPResponse struct {
101 Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`

Callers 1

checkHTTPResponseFunction · 0.45

Calls

no outgoing calls

Tested by 1

checkHTTPResponseFunction · 0.36