Class ServerCallContextExtensions
Extension methods for ServerCallContext.
Inheritance
System.Object
ServerCallContextExtensions
Namespace: Grpc.Core
Assembly: Grpc.AspNetCore.Server.dll
Syntax
public static class ServerCallContextExtensions : object
Methods
GetHttpContext(ServerCallContext)
Retrieve the
Declaration
public static HttpContext GetHttpContext(this ServerCallContext serverCallContext)
Parameters
Type | Name | Description |
---|---|---|
ServerCallContext | serverCallContext | The |
Returns
Type | Description |
---|---|
HttpContext | The extracted |