otherwise

Set a response for when an unmatched request is received.

http.otherwise().reject();

This is the same as calling when with no parameters, except that unlike when, it is put at the bottom of the stack.

results matching ""

    No results matching ""