Method UseBootstraper
UseBootstraper(Action)
Adds an function that will be executed immediately before starting the HTTP server.
public HttpServerHostContextBuilder UseBootstraper(Action bootstrapAction)
Parameters
bootstrapAction
ActionThe action which will be executed before the HTTP server start.
Returns
UseBootstraper(string, Action)
Adds an function that will be executed immediately before starting the HTTP server.
public HttpServerHostContextBuilder UseBootstraper(string name, Action bootstrapAction)
Parameters
name
stringDefines an custom label for the bootstraping action name.
bootstrapAction
ActionThe action which will be executed before the HTTP server start.