options method

Hook options()

Initialize options hook Options hooks are ran for OPTIONS requests

Implementation

Hook options() {
  final hook = Hook()..groups(['*']);
  _options.add(hook);
  return hook;
}