IWordpressMiddleware class abstract
The base interface for WordPress middleware.
- Implementers
Constructors
- IWordpressMiddleware()
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onExecute(
WordpressRequest request) → Future< MiddlewareRawResponse> - Called before executing a request to the WordPress server.
-
onLoad(
) → Future< void> - Called when the middleware is loaded.
-
onRequest(
WordpressRequest request) → Future< WordpressRequest> - Called before sending a request to the WordPress server.
-
onResponse(
WordpressRawResponse response) → Future< WordpressRawResponse> - Called after receiving a response from the WordPress server.
-
onUnload(
) → Future< void> - Called when the middleware is unloaded.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited