Skip to content

Badgerati/Pode.Kestrel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!