IWordpressMiddleware class abstract

The base interface for WordPress middleware.

Implementers

Constructors

IWordpressMiddleware()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the middleware.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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