mxsm opened a new issue, #3952: URL: https://github.com/apache/eventmesh/issues/3952
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Enhancement Request Optimize EventMeshServer#EventMeshServer method.  use a switch statement instead of multiple if statements to check for the server protocols ### Describe the solution you'd like use a switch statement instead of multiple if statements to check for the server protocols ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
