Function sc_rpc_server::utils::deny_unsafe
source · pub fn deny_unsafe(addr: &SocketAddr, methods: &RpcMethods) -> DenyUnsafe
Expand description
Get the deny_unsafe
setting based on the address and the RPC methods exposed by the interface.