Description

NewServer returns the server supported given transports. If transports is nil, the server will use ["polling", "websocket"] as default.