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

Method getState

internal/transport/transport.go:331–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329}
330
331func (s *Stream) getState() streamState {
332 return streamState(atomic.LoadUint32((*uint32)(&s.state)))
333}
334
335// Trailer returns the cached trailer metadata. Note that if it is not called
336// after the entire stream is done, it could return an empty MD.

Callers 10

SetSendCompressMethod · 0.45
SetHeaderMethod · 0.45
SetTrailerMethod · 0.45
handleDataMethod · 0.45
writeHeaderMethod · 0.45
writeStatusMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45
handleDataMethod · 0.45
operateHeadersMethod · 0.45

Calls 1

streamStateTypeAlias · 0.85

Tested by

no test coverage detected