HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK - BaseRequestEvent.reject()

Home > @rainway/native > BaseRequestEvent > reject

BaseRequestEvent.reject() method

Reject the request, with an optional reason.

Signature:

reject(reason?: string): Promise<void>;

Parameters

ParameterTypeDescription
reasonstringreason

Returns:

Promise<void>

Promise