NetCoreServer
NetCoreServer copied to clipboard
HTTPS and WSS on same port
Couldn't see anything in the documentation about this. Is it possible to run a HTTPS server and WSS on the same port but under different directories, or would you need to use another server on top to accomplish that?
Okay, so you can run a WSS and have it host static content, figured that out. But what if I want the WSS to be accessed on /wss and the static content to be / ?
This example shows exactly what you need: https://github.com/chronoxor/NetCoreServer/blob/master/examples/WssChatServer/Program.cs