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

Method Close

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

Close tears down this transport. Once it returns, the transport should not be accessed any more. The caller must make sure this is called only once.

(err error)

Source from the content-addressed store, hash-verified

614 // should not be accessed any more. The caller must make sure this
615 // is called only once.
616 Close(err error)
617
618 // GracefulClose starts to tear down the transport: the transport will stop
619 // accepting new RPCs and NewStream will return error. Once all streams are

Callers 15

stopMethod · 0.65
TestClientErrorNotifyMethod · 0.65
TestClientMixMethod · 0.65
TestLargeMessageMethod · 0.65
TestGracefulCloseMethod · 0.65
TestMaxStreamsMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls

Tested by 15

stopMethod · 0.52
TestClientErrorNotifyMethod · 0.52
TestClientMixMethod · 0.52
TestLargeMessageMethod · 0.52
TestGracefulCloseMethod · 0.52
TestMaxStreamsMethod · 0.52