Method UseJsonRPC
UseJsonRPC(HttpServerHostContextBuilder, EventHandler<JsonRpcServerConfigurationEventArgs>)
Enables JSON-RPC in this HTTP server.
public static HttpServerHostContextBuilder UseJsonRPC(this HttpServerHostContextBuilder builder, EventHandler<JsonRpcServerConfigurationEventArgs> configure)
Parameters
builder
HttpServerHostContextBuilderThe self HttpServerHostContextBuilder for fluent chaining.
configure
EventHandler<JsonRpcServerConfigurationEventArgs>The event handler callback that is called to configure routes and web methods for the JSON-RPC.