diff --git a/src/dorkbox/network/connection/EndPoint.kt b/src/dorkbox/network/connection/EndPoint.kt index d773b1cb..1feae361 100644 --- a/src/dorkbox/network/connection/EndPoint.kt +++ b/src/dorkbox/network/connection/EndPoint.kt @@ -360,6 +360,8 @@ internal constructor(val type: Class<*>, * By default, if there are no filter rules, then all connections are allowed to connect * If there are filter rules - then ONLY connections for the filter that returns true are allowed to connect (all else are denied) * + * If ANY filter rule that is applied returns true, then the connection is permitted + * * This function will be called for **only** network clients (IPC client are excluded) */ fun filter(ipFilterRule: IpFilterRule) { @@ -381,6 +383,9 @@ internal constructor(val type: Class<*>, * If the function returns FALSE, then the other end of the connection will * receive a connection error * + * + * If ANY filter rule that is applied returns true, then the connection is permitted + * * This function will be called for **only** network clients (IPC client are excluded) */ fun filter(function: CONNECTION.() -> Boolean) {