Skip to content

Badgerati/Pode.Kestrel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3081ac1 · Nov 11, 2021

History

19 Commits
Oct 15, 2021
Oct 9, 2020
Nov 11, 2021
Nov 14, 2020
Oct 9, 2020
Oct 9, 2020
Oct 6, 2021

Repository files navigation

Pode.Kestrel

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+

Usage

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!