Beignet API reference
Preparing search index...
@beignet/core
server
Handler
Type Alias Handler<Ctx, C>
Handler
:
(
args
:
HandlerArgs
<
Ctx
,
C
>
)
=>
Promise
<
HttpResponse
>
|
HttpResponse
Route handler function for a contract.
Type Parameters
Ctx
C
extends
HttpContractConfig
Type Declaration
(
args
:
HandlerArgs
<
Ctx
,
C
>
)
:
Promise
<
HttpResponse
>
|
HttpResponse
Parameters
args
:
HandlerArgs
<
Ctx
,
C
>
Returns
Promise
<
HttpResponse
>
|
HttpResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Beignet API reference
Loading...
Route handler function for a contract.