一代咩神
一代咩神
Under the Windows Platform, Open as Administrator the `x64 Native Tools Command Prompt for VS 2022` command prompt window execution: ```shell $ cd spdlog && mkdir build && cd build...
@kataras Thank you!very perfect!
@kataras After setting `FireDisconnectAlways = true`, if the client suddenly disconnects, any data you want to get from the `conn` of the `OnDisconnect{}` method is invalid. And may cause the...
The question now is that after the client disconnects, the data returned from `conn` is invalid. How can I still get the data from the` OnDisconnect {} `method after the...
@kataras I cannot use `neffos.OnNamespaceDisconnect` because I need to use` neffos.OnNativeMessage` and my python client cannot connect to the namespace.
@kataras The two problems above are that I didn't manually call `conn.Close ()`, but when the client disconnected, ws.OnDisconnect` received the signal automatically.
没有手动调用 `conn.Close()`,而是客户端由于某种原因断开了连接,此时 `ws.OnDisconnect` 接收到信号: ```go ws.OnDisconnect = apis.Logout func Logout(conn *neffos.Conn) { ctx := websocket.GetContext(conn) // FireDisconnectAlways = false can get the result normally, otherwise "". fmt.Println("token:", ctx.URLParam("token")) } ```...
Well, I found that even if `FireDisconnectAlways = true`, sometimes when the client is suddenly disconnected, the `conn` data stored in the `ws.OnDisconnect ()` method cannot be obtained. **A suggestion:**...
Or add a signal: `ws.onWillDisconnect()` ?
@dillidon In other words, let the pickerView be able to select more than one.