Comments (2)
You can use SocketIOOptions to pass the query object like in the example
https://github.com/itisnajim/SocketIOUnity#initiation
and check in the server like this: https://github.com/itisnajim/SocketIOUnity#server-example
this repo its just a wrapper for socket.io-client-csharp
You should open the issue there if you can't find an answer!
from socketiounity.
I believe there has been a miscommunication, so allow me to explain in more depth. I'm trying to connect to a server that I do not have control over but have been given the ability to pull logs from. As I explained, the server uses auth as indicated by the documentation I linked. The auth object is at the same hierarchy level as query, it is not nested within query, as seen in the log I provided (the auth: {} at the bottom.) Submitting auth through the query object does not get it sent to the auth object in standardized Socket.IO architecture, as documented, and you can see the result of that in the query object, also as seen in the log I provided.
I checked the repo you suggested I open an issue on. That which you are wrapping does, in fact, have an auth object as an option available for socket connections. I need your wrapper to take advantage of that specific hierarchy of auth. As is, the query object level of auth is not actually doing this, as evidenced by the log I have provided. The problem with your wrapper is solved when I can get that auth: {} at the end of that log filled in. In its current state, this is not possible.
EDIT: Figured out what's wrong. See: #13
from socketiounity.
Related Issues (20)
- error CS0012: The type 'ReadOnlyMemory<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. HOT 5
- IL2CPP Android connection issue HOT 1
- Socket emit not passing data for some seconds HOT 3
- problem with build to iOS iwth XCode version 14 HOT 2
- Not working on android HOT 8
- Impossible to connect to a server without TLS verification HOT 1
- Not working on Unity Scripting Backend IL2CPP HOT 3
- SocketIOResponse could not be found HOT 2
- IL2CPP Problem Resolution HOT 2
- Emit from different places in code disconnects and reconnects socket HOT 7
- How to send HOT 1
- How to install it manually? HOT 1
- errors just after adding the package from git
- Does it work without issue on https?
- Request to Update Wrapper for recent socket.io-client-csharp bug fixes
- Socket Io Emit not working on Android HOT 1
- HTTPS/WSS Client Side Setup HOT 1
- Error in webGL Build - Unable to connect socket HOT 1
- Adding Volatile Emission HOT 1
- error CS0118: 'SocketIO' is a namespace but is used like a type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socketiounity.