This is the Kestrel Listener for the Pode PowerShell web server. The Kestrel listener, at present, only supports HTTP/HTTPS.
This listener only works with Pode v2.5.0+ and PowerShell 6.0+
To begin using the Kestrel listener, you'll first need to install the module:
Install-Module -Name Pode.Kestrel
then, in your main server script, you'll need to import the module and set the -ListenerType
:
Import-Module -Name Pode.Kestrel
Start-PodeServer -ListenerType Kestrel {
# endpoints, routes, etc
}
and that's it!