Home > @rainway/native > BaseRequestEvent > reject
BaseRequestEvent.reject() method
Reject the request, with an optional reason.
Signature:
reject(reason?: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
reason | string | reason |
Returns:
Promise<void>
Promise