methodNotAllowed method

void methodNotAllowed()

Sets status to 405 Method Not Allowed.

Implementation

void methodNotAllowed() => setStatus(405);