You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I use socket-io js client but only for test purposes, service will be used with using some C++ library, so I need to use not the socket.io style format.
Is it possible? What methods can I use?
I have found addJsonObjectListener method and sendJsonObject, but I also don't want to pass a @Class directive, it seems weird to me to give client a knowledge about server class hierarchy (package prefix is okay). I just want define some object on the client and parse it manually on the server, then pass manually formed json to the client.
P.S.: By the way Configuration.jsonTypeFieldName is not available now, so @Class now is the only option of name.
The text was updated successfully, but these errors were encountered:
When I send request it looks like (Google Chrome Console) :
where 53445t-53454-534543-53453435 - is unique transactionId which I automatically include in request and each response.
The response looks like
where /v1/user - namespace with versioning;
Now I use socket-io js client but only for test purposes, service will be used with using some C++ library, so I need to use not the socket.io style format.
Is it possible? What methods can I use?
I have found addJsonObjectListener method and sendJsonObject, but I also don't want to pass a @Class directive, it seems weird to me to give client a knowledge about server class hierarchy (package prefix is okay). I just want define some object on the client and parse it manually on the server, then pass manually formed json to the client.
P.S.: By the way Configuration.jsonTypeFieldName is not available now, so @Class now is the only option of name.
The text was updated successfully, but these errors were encountered: