Update services.md -- wrong method name in example code (#20204)

pull/20208/head
cantSleepNow 2020-10-15 22:19:25 +02:00 committed by GitHub
parent 5cf53e5c21
commit 10bdfe0c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ By default the generated `GreeterBase` doesn't do anything. Its virtual `SayHell
```csharp
public class GreeterService : GreeterBase
{
public override Task<HelloReply> UnaryCall(HelloRequest request, ServerCallContext context)
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
{
return Task.FromResult(new HelloRequest { Message = $"Hello {request.Name}" });
}