sc_rpc_server::utils

Function 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.