getRules method

JSPromise<JSString> getRules()

Gets the currently applied security rules as a string. The return value consists of the rules source including comments.

@returns A promise fulfilled with the rules as a raw string.

Implementation

external JSPromise<JSString> getRules();