Method Get
Namespace: Sisk.Core.Routing
Assembly: Sisk.Core.dll
Get(string, Delegate?)
Creates a route that responds to HTTP GET requests.
public static Route Get(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
A Route object configured for GET requests.
Get(string, RouteAction)
Creates a route that responds to HTTP GET requests.
public static Route Get(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
A Route object configured for GET requests.
                                    English
                                
                                    Русский
                                
                                    Português
                                
                                    Español
                                
                                    Deutsch
                                
                                    中文 (简体)
                                
                                    日本語