KestrunContext constructor
Initializes a new instance of the KestrunContext class. This constructor is used when creating a new KestrunContext from an existing HTTP context. It initializes the KestrunRequest and KestrunResponse based on the provided HttpContext
public KestrunContext(KestrunHost host, HttpContext httpContext)
| parameter | description |
|---|---|
| host | The Kestrun host. |
| httpContext | The associated HTTP context. |
See Also
- class KestrunHost
- record KestrunContext
- namespace Kestrun.Models