Preparing search index...
The search index is not available
di-wise - v0.2.6
di-wise
MiddlewareComposer
Interface MiddlewareComposer
Composer API for middleware functions.
interface
MiddlewareComposer
{
use
<
MethodKey
>
(
key
:
MethodKey
,
wrap
:
Container
[
MethodKey
]
extends
Function
?
(
(
next
:
any
[
any
]
)
=>
any
[
any
]
)
:
never
)
:
MiddlewareComposer
;
}
Index
Methods
use
Methods
use
use
<
MethodKey
>
(
key
,
wrap
)
:
MiddlewareComposer
Add a middleware function to the composer.
Type Parameters
MethodKey
extends
keyof
Container
Parameters
key
:
MethodKey
wrap
:
Container
[
MethodKey
]
extends
Function
?
(
(
next
:
any
[
any
]
)
=>
any
[
any
]
)
:
never
Returns
MiddlewareComposer
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
use
di-wise - v0.2.6
Loading...
Composer API for middleware functions.