KestrunHost.EnableConfiguration method

Applies the configured options to the Kestrel server and initializes the runspace pool.

public void EnableConfiguration(Dictionary<string, object>? userVariables = null, 
    Dictionary<string, string>? userFunctions = null, 
    Dictionary<string, string>? userCallbacks = null)
parameter description
userVariables User-defined variables to inject into the runspace pool.
userFunctions User-defined functions to inject into the runspace pool.
userCallbacks User-defined callback functions for OpenAPI classes.

See Also