Closed Ali-jneidi closed 5 years ago
let connection = HubConnectionBuilder(url: URL(string:"http://xxxxxx.com/signalHub")!) .withLogging(minLogLevel: .debug).withHttpConnectionOptions() { httpConnectionOptions in httpConnectionOptions.accessTokenProvider = { return "xxxxxxxxxx" } } .build()
Currently this is not supported (#12). Why do you need it? If you connect to the server then it will handle negotiate just fine.
You can now set skipNegotiation = True in the HttpConnectionOptions like this
skipNegotiation = True
HttpConnectionOptions