The RequestHandler property is a delegate that holds a reference to a method with the following signature:

IVenturaRequestHandler delegate()

In other words, a method without parameters that returns the IVenturaRequestHandler type.

The method is expected to create an instance of a custom request handler class. A lambda expression is the simplest way to define the method:

VenturaServerConfig.RequestHandler = () => new CustomRequestHandler();

See topic Create the Custom Request Handler for a full explanation.

Also see topic Server API > IVenturaRequestHandler (interface)

public static Func<IVenturaRequestHandler> RequestHandler { get; set; }