Preparing search index...
The search index is not available
di-wise - v0.2.8
di-wise
index
MiddlewareComposer
Interface MiddlewareComposer
Composer API for middleware functions.
interface
MiddlewareComposer
{
use
<
MethodKey
extends
keyof
Container
>
(
key
:
MethodKey
,
wrap
:
Container
[
MethodKey
]
extends
Function
?
(
next
:
any
[
any
]
)
=>
any
[
any
]
:
never
,
)
:
MiddlewareComposer
;
}
Index
Methods
use
Methods
use
use
<
MethodKey
extends
keyof
Container
>
(
key
:
MethodKey
,
wrap
:
Container
[
MethodKey
]
extends
Function
?
(
next
:
any
[
any
]
)
=>
any
[
any
]
:
never
,
)
:
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.8
Loading...
Composer API for middleware functions.