@purista/hono-http-server v2.0.5
PURISTA API / @purista/hono-http-server / EndpointProtectMiddleware
Type Alias: EndpointProtectMiddleware()<T, Bindings, Variables>
EndpointProtectMiddleware<
T
,Bindings
,Variables
>: (this
,c
,next
) =>Promise
<void
|Response
>
Defined in: packages/hono-http-server/src/types/EndpointProtectMiddleware.ts:7
Type Parameters
• T extends Service
• Bindings extends BindingsBase
= BindingsBase
• Variables extends VariablesBase
= VariablesBase
Parameters
this
T
c
Context
<{ Bindings
: Bindings
; Variables
: Variables
; }>
next
Next
Returns
Promise
<void
| Response
>