Class PluginsHandler
Represents an GenHTTP handler used to process web requests and forward them to the right PluginEndPoint.
public class PluginsHandler : IHandler
- Inheritance
-
objectPluginsHandler
- Implements
-
IHandler
Properties
BaseRoute
Gets the base route of the module
public string BaseRoute { get; }
Property Value
PluginEndPoints
Gets a read only collection containing all current plugin end points
public IReadOnlyCollection<PluginEndPoint> PluginEndPoints { get; }
Property Value
Methods
HandleAsync(IRequest)
public ValueTask<IResponse?> HandleAsync(IRequest request)
Parameters
requestIRequest
Returns
- ValueTask<IResponse>
PrepareAsync()
public ValueTask PrepareAsync()