diff --git a/Documentation/grpc-metadata.md b/Documentation/grpc-metadata.md index e578eca6..c9a88c68 100644 --- a/Documentation/grpc-metadata.md +++ b/Documentation/grpc-metadata.md @@ -82,7 +82,7 @@ func (s *server) SomeRPC(ctx context.Context, in *pb.SomeRequest) (*pb.SomeRespo ### Sending metadata -To send metadata to server, the client can wrap the metadata into a context using `NewContext`, and make the RPC with this context: +To send metadata to server, the client can wrap the metadata into a context using `NewOutgoingContext`, and make the RPC with this context: ```go md := metadata.Pairs("key", "val")