options method
void
options(
- String path,
- RequestEndpoint endpoint, {
- List<
RequestHandler> middlewares = const [],
Implementation
void options(
String path,
RequestEndpoint endpoint, {
List<RequestHandler> middlewares = const [],
}) {
_route(
path,
endpoint,
middlewares: middlewares,
method: 'OPTIONS',
);
}