Cell API
Docs
GitHub
Preparing search index...
@celljs/web
node
CorsMiddleware
Class CorsMiddleware
Implements
Middleware
Index
Constructors
constructor
Properties
endpoint?
handler
Execution
Chain
options
priority
Methods
handle
Constructors
constructor
new
CorsMiddleware
()
:
CorsMiddleware
Returns
CorsMiddleware
Properties
Protected
Optional
Readonly
endpoint
endpoint
?:
string
Protected
handler
Execution
Chain
handlerExecutionChain
:
HandlerExecutionChain
Protected
Readonly
options
options
:
any
Readonly
priority
priority
:
number
= CORS_MIDDLEWARE_PRIORITY
Methods
handle
handle
(
ctx
:
Context
,
next
:
()
=>
Promise
<
void
>
)
:
Promise
<
void
>
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
endpoint
handler
Execution
Chain
options
priority
Methods
handle
Docs
GitHub
Cell API
Loading...