Home > @rainway/native > OutboundStream > getPeerPermission
OutboundStream.getPeerPermission() method
Retrieve the (optional) override permissions for a given peer. This overrides OutboundStream.permissions for a specific peer. If no override is present, the value of OutboundStream.permissions will be returned.
Signature:
getPeerPermission(peer: Peer | BigInt): RainwayInputLevel;
Parameters
Parameter | Type | Description |
---|---|---|
peer | Peer | BigInt | peer or peer id |
Returns:
permissions