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

Struct HTTPRequest

httpgrpc/httpgrpc.pb.go:33–38  ·  view source on GitHub ↗

please upgrade the proto package

Source from the content-addressed store, hash-verified

31const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
32
33type HTTPRequest struct {
34 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
35 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
36 Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
37 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
38}
39
40func (m *HTTPRequest) Reset() { *m = HTTPRequest{} }
41func (*HTTPRequest) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected