allowCommand property

bool Function(ShellRequest request)? allowCommand
final

Optional guard; when provided and it returns false, the session is refused (the runtime reports node.session.rejected).

Implementation

final bool Function(ShellRequest request)? allowCommand;