MCPcopy
hub / github.com/grpc/grpc-go / Header

Method Header

internal/resolver/config_selector.go:63–63  ·  view source on GitHub ↗

Header returns the header metadata received from the server if there is any. It blocks if the metadata is not ready to read.

()

Source from the content-addressed store, hash-verified

61 // Header returns the header metadata received from the server if there
62 // is any. It blocks if the metadata is not ready to read.
63 Header() (metadata.MD, error)
64 // Trailer returns the trailer metadata from the server, if there is any.
65 // It must only be called after stream.CloseAndRecv has returned, or
66 // stream.Recv has returned a non-nil error (including io.EOF).

Callers 15

processUnaryRPCMethod · 0.65
HeaderMethod · 0.65
HeaderMethod · 0.65
SendHeaderMethod · 0.65
SendMsgMethod · 0.65
afterMethod · 0.65
DoCustomMetadataFunction · 0.65
TestRetryStreamingMethod · 0.65

Implementers 3

clientStreamstream.go
okStreaminternal/xds/httpfilter/fault/fault.go

Calls

no outgoing calls