NewDefaultServer replacement #3447
-
#3404 says it's not intended for prod use and that people have found out the hard way. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@idc77 Hey, so you can feel free to copy-paste NewDefaultServer into your own project and then modify it the way the comment for NewDefaultServer suggests. Add or remove the transports to match your needs, and customize the transport configs. For example, if you don't need websockets, don't add the websocket transport. If you do need websocket transport, customize the settings to match your workloads. |
Beta Was this translation helpful? Give feedback.
@idc77 Hey, so you can feel free to copy-paste NewDefaultServer into your own project and then modify it the way the comment for NewDefaultServer suggests. Add or remove the transports to match your needs, and customize the transport configs.
For example, if you don't need websockets, don't add the websocket transport. If you do need websocket transport, customize the settings to match your workloads.