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

Method Drain

internal/transport/transport.go:667–667  ·  view source on GitHub ↗

Drain notifies the client this ServerTransport stops accepting new RPCs.

(debugData string)

Source from the content-addressed store, hash-verified

665
666 // Drain notifies the client this ServerTransport stops accepting new RPCs.
667 Drain(debugData string)
668}
669
670type internalServerTransport interface {

Callers 10

addConnMethod · 0.65
GetStreamStatsMethod · 0.65
switchModeLockedMethod · 0.65
PassServerTransportMethod · 0.65
DrainMethod · 0.65
TestConnectedMetricMethod · 0.65

Implementers 2

serverHandlerTransportinternal/transport/handler_server.go
http2Serverinternal/transport/http2_server.go

Calls

no outgoing calls