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. 
   
   
![image](https://github.com/apache/eventmesh/assets/15797831/e8cd8eb2-ddbc-4e39-9c33-036b20e67c77)
   
   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]

Reply via email to