Skip to content

NewDefaultServer replacement #3447

Answered by StevenACoffman
idc77 asked this question in Q&A
Discussion options

You must be logged in to vote

@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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by idc77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants