Click or drag to resize

JsonRpcAspNetExtensionsGetHttpContext Method

[This is preliminary documentation and is subject to change.]

Gets the HttpContext containing the JSON RPC request.

Namespace:  JsonRpc.AspNetCore
Assembly:  JsonRpc.AspNetCore (in JsonRpc.AspNetCore.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static HttpContext GetHttpContext(
	this RequestContext requestContext
)

Parameters

requestContext
Type: JsonRpc.ServerRequestContext
The RequestContext instance.

Return Value

Type: HttpContext
The HttpContext provided by the JSON RPC request context, or null if no such context is available.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RequestContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also