freenet-core
freenet-core copied to clipboard
Clean up InboundDelegateMsg
GetSecretRequest doesn't belong in InboundDelegateMsg because delegates can't respond to these messages, they can only send them and receive GetSecretResponses.
We're currently using the ApplicationMessage struct both for communication between freenet-core and webapps via the websocket API, then also for communication between freenet-core and delegates - we should probably use separate structs for each.