Sisk

Method

Route.Query

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Query(string, Delegate?) #

Creates a route that responds to HTTP QUERY requests.

C#
public static Route Query(string path, Delegate? action)

Parameters #

path string

The URL path for the route.

action Delegate?

The action to be executed when the route is matched.

Returns #

Route

A Route object configured for QUERY requests.

Query(string, RouteAction) #

Creates a route that responds to HTTP QUERY requests.

C#
public static Route Query(string path, RouteAction action)

Parameters #

path string

The URL path for the route.

action RouteAction

The action to be executed when the route is matched.

Returns #

Route

A Route object configured for QUERY requests.

Type to search the documentation and the API reference.