Table of Contents

Method Options

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

Options(string, RouteAction)

Creates a route that responds to HTTP OPTIONS requests.

public static Route Options(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 OPTIONS requests.