freenet-core icon indicating copy to clipboard operation
freenet-core copied to clipboard

Clean up InboundDelegateMsg

Open sanity opened this issue 8 months ago • 0 comments

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.

sanity avatar Mar 24 '25 16:03 sanity