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

Method NewStream

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

NewStream creates a Stream for an RPC.

(ctx context.Context, callHdr *CallHdr, handler stats.Handler)

Source from the content-addressed store, hash-verified

624
625 // NewStream creates a Stream for an RPC.
626 NewStream(ctx context.Context, callHdr *CallHdr, handler stats.Handler) (*ClientStream, error)
627
628 // Error returns a channel that is closed when some I/O error
629 // happens. Typically the caller should have a goroutine to monitor

Callers 15

GetAllGaugesMethod · 0.65
StreamingOutputCallMethod · 0.65
StreamingInputCallMethod · 0.65
FullDuplexCallMethod · 0.65
HalfDuplexCallMethod · 0.65
StreamingCallMethod · 0.65
StreamingFromClientMethod · 0.65
StreamingFromServerMethod · 0.65
StreamingBothWaysMethod · 0.65
RunServerMethod · 0.65
RunClientMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls