Options which can be specified when calling the .allowedMethods()
method
on a Router
instance.
optional
methodNotAllowed(): any
Use the value returned from this function instead of an HTTP error
MethodNotAllowed
.
optional
notImplemented(): any
Use the value returned from this function instead of an HTTP error
NotImplemented
.