Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 624 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 624 Bytes

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!