Table of Contents

Method UseJsonRPC

Namespace
Sisk.JsonRPC
Assembly
Sisk.JsonRPC.dll

UseJsonRPC(HttpServerHostContextBuilder, EventHandler<JsonRpcServerConfigurationEventArgs>)

Enables JSON-RPC in this HTTP server.

public static HttpServerHostContextBuilder UseJsonRPC(this HttpServerHostContextBuilder builder, EventHandler<JsonRpcServerConfigurationEventArgs> configure)

Parameters

builder HttpServerHostContextBuilder

The 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.

Returns

HttpServerHostContextBuilder