Simplified middleware syntax
Pre-release
Pre-release
Breaking changes: refactored handle prefix in favor of on in #4.
handleRequestErroris nowonRequestErrorhandleResponseErroris nowonResponseError
Breaking changes: refactored handle prefix in favor of on in #4.
handleRequestError is now onRequestErrorhandleResponseError is now onResponseError