Click or drag to resize

AspNetCoreRpcServerHandlerProcessRequestAsync Method (HttpContext)

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

Processes the JSON-RPC request contained in the HTTP request body, and writes the response to the HTTP response body.

Namespace:  JsonRpc.AspNetCore
Assembly:  JsonRpc.AspNetCore (in JsonRpc.AspNetCore.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public virtual Task ProcessRequestAsync(
	HttpContext context
)

Parameters

context
Type: HttpContext
The HTTP request context.

Return Value

Type: Task
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is null.
Remarks

Implementation of this method parses the request message, then calls ProcessRequestAsync(RequestMessage, HttpContext, Boolean) to handle the parsed message, and sends back the JSON RPC response.

See Also