Cell API
Docs
GitHub
Preparing search index...
@celljs/web
node
HttpMiddleware
Class HttpMiddleware
Implements
Middleware
Index
Constructors
constructor
Properties
logger
priority
Methods
handle
Constructors
constructor
new
HttpMiddleware
()
:
HttpMiddleware
Returns
HttpMiddleware
Properties
Protected
Readonly
logger
logger
:
Logger
Readonly
priority
priority
:
number
= HTTP_MIDDLEWARE_PRIORITY
Methods
handle
handle
(
ctx
:
Context
,
next
:
()
=>
Promise
<
void
>
)
:
Promise
<
void
>
The access log: one line before and one after each request, at the debug level.
Parameters
ctx
:
Context
next
:
()
=>
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
logger
priority
Methods
handle
Docs
GitHub
Cell API
Loading...
The access log: one line before and one after each request, at the debug level.