Home > @rainway/native > BaseRequestEvent > accept
BaseRequestEvent.accept() method
Accept the request, returning the accepted object.
Signature:
accept(options?: TAcceptedOptions): Promise<TAccepted>;
Parameters
Parameter | Type | Description |
---|---|---|
options | TAcceptedOptions | options |
Returns:
Promise<TAccepted>
accepted ojbect