I don’t think there is a formal definition of E2EE.
Here’s Wikipedia’s definition:
„End-to-end encryption (E2EE) is a method of implementing a secure communication system where only the sender and intended recipient can read the messages“
Note the complete lack of client/server distinction. It’s simply about intended recipients.