KrFormEndpoints.MapKestrunFormRoute method
Maps a form route that parses multipart and urlencoded payloads.
public static IEndpointConventionBuilder MapKestrunFormRoute(this IEndpointRouteBuilder endpoints,
string pattern, KrFormOptions options, KrFormHandler handler)
| parameter | description |
|---|---|
| endpoints | The endpoint route builder. |
| pattern | The route pattern. |
| options | The form parsing options. |
| handler | The handler to execute after parsing. |
Return Value
The endpoint convention builder.
See Also
- class KrFormOptions
- delegate KrFormHandler
- class KrFormEndpoints
- namespace Kestrun.Forms