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

Method Context

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

Context returns the context for this stream. It should not be called until after Header or RecvMsg has returned. Once called, subsequent client-side retries are disabled.

()

Source from the content-addressed store, hash-verified

74 // It should not be called until after Header or RecvMsg has returned. Once
75 // called, subsequent client-side retries are disabled.
76 Context() context.Context
77 // SendMsg is generally called by generated code. On error, SendMsg aborts
78 // the stream. If the error was generated by the client, the status is
79 // returned directly; otherwise, io.EOF is returned and the status of

Callers 15

FullDuplexCallMethod · 0.65
writeStatusMethod · 0.65
writeHeaderMethod · 0.65
HandleStreamsMethod · 0.65
writeHeaderLockedMethod · 0.65
writeStatusMethod · 0.65
TestReadyReader_TCPMethod · 0.65
BalanceLoadMethod · 0.65
StreamLoadStatsMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 3

TestReadyReader_TCPMethod · 0.52
RecvMethod · 0.52