Everything dealing with an Electrum RPC server is found in the core subpackage.
electrum
client
constants
exc
protocol
svr_info
bitcoincash.core