Click or drag to resize

JsonRpcServiceHostBuilder Class

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

A builder for IJsonRpcServiceHost.
Inheritance Hierarchy
SystemObject
  JsonRpc.ServerJsonRpcServiceHostBuilder

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public sealed class JsonRpcServiceHostBuilder

The JsonRpcServiceHostBuilder type exposes the following members.

Constructors
  NameDescription
Public methodJsonRpcServiceHostBuilder
Initializes a new instance of the JsonRpcServiceHostBuilder class
Top
Properties
  NameDescription
Public propertyContractResolver
Contract resolver that maps the JSON RPC methods to CLR service methods.
Public propertyLoggerFactory
The logger factory used to get a logger for the service host.
Public propertyMethodBinder
The binder that chooses the best match among a set of RPC methods.
Public propertyServiceFactory
The factory that creates the JSON RPC service instances to handle the requests.
Top
Methods
  NameDescription
Public methodBuild
Builds an instance that implements IJsonRpcServiceHost.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntercept(FuncRequestContext, FuncTask, Task)
Adds a handler to intercept the JSON RPC requests.
Public methodIntercept(FuncRequestHandler, RequestHandler)
Adds a middleware to intercept the JSON RPC requests.
Public methodRegister(Assembly)
Registers all the exposed JSON PRC methods in the public service object types contained in the specified assembly.
Public methodRegister(Type)
Registers all the exposed JSON PRC methods in the specified service object type.
Public methodRegisterTService
Registers all the exposed JSON PRC methods in the specified service object type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also