KestrunRequest.NewRequest method
Creates a new KestrunRequest instance from the specified HttpContext.
public static Task<KestrunRequest> NewRequest(HttpContext context)
| parameter | description |
|---|---|
| context | The HTTP context containing the request information. |
Return Value
A task that represents the asynchronous operation. The task result contains the constructed KestrunRequest.
See Also
- class KestrunRequest
- namespace Kestrun.Models