Commented Feature: websocket_client - provide ability to register call back...
The websocket_client class does not provide the ability to attach a call back handler for received messages. One of the benefits of web socket is that the client does not need to keep polling for...
View ArticleClosed Feature: websocket_client - provide ability to register call back...
The websocket_client class does not provide the ability to attach a call back handler for received messages. One of the benefits of web socket is that the client does not need to keep polling for...
View ArticleUpdated Release: C++ Rest SDK 2.4.0
websocket_clientAdded a new websocket_client class, websocket_client_class, that supports using callbacks instead for receiving messages and when the connection is closed. #15
View ArticleNew Post: about set "Treat WChar_t AS Built in Type" to "No"
dealing with the same problem. has anyone recommendations?
View ArticleNew Post: Feedback: Please add SOAP support
Hi jlschrag, Here is a perfectly fine forum to discuss topics like this. You also can open issues or features requests here on CodePlex. There have been a few requests/interest in SOAP, but not a lot....
View ArticleNew Post: about set "Treat WChar_t AS Built in Type" to "No"
Hi pontyr and chaoso, Why do you want not want to treat wchar_t as a built in type? It is part of the C++ standard and we use it in the library. I don't think you will be able to use the C++ Rest SDK...
View ArticleNew Post: URI Builder Set/Append Query Should Accept Key/Value as Separate...
I was slightly annoyed when I found that it only accepted a single string argument. As a result, I still had to do some string concatenation outside with the equals signs. I would really appreciate if...
View ArticleNew Post: URI Builder Set/Append Query Should Accept Key/Value as Separate...
Hi kotsoft, This exact API you speak of does exist on the uri_builder class. Take a look at the reference documentation here. You can do exactly what you mention in your post, you also can easily...
View ArticleNew Post: URI Builder Set/Append Query Should Accept Key/Value as Separate...
Oops, sorry. I was working with code completion and I guess I just assumed append_query wouldn't have it because set_query didn't.
View ArticleNew Post: about set "Treat WChar_t AS Built in Type" to "No"
Hi stevegates, meanwhile I go the hard way and change our tons of projects to wchar_t as built in type. Hope that afterwards I will be able to build without errors. Thanks for your quick reply! :-) rainer
View ArticleNew Post: Interesting code in http_client.impl.h, pass by value of objects
Hi, Here is a code section in this unit, I try to fully understand:http_client::http_client(uri base_uri) { build_pipeline(std::move(base_uri), http_client_config()); } http_client::http_client(uri...
View ArticleCommented Unassigned: Casablanca hangs my app when unloaded [309]
Hi, Am trying to use Casablanca as a dll in another third party exe on Windows 7. Everything works fine, except when closing the socket and unloading the dll. My close function is as follows```void...
View ArticleNew Post: How to get Casablanca running in Linux?
Can somebody put here step by step instructions to get casablanca working in Linux environment? I can't event compile the most basic example. Tried to link all the dependencies on Eclipse IDE and...
View ArticleNew Post: using MFC and casablanca....
Thanks for joining the discussion Tirat, it’s good to know others are wondering the same question as it means I haven’t missed something too obvious. I just wanted to add and update, that as far as I...
View ArticleNew Post: using MFC and casablanca....
Actually, I have successfully used Casablanca within an MFC application. Yes, there is a problem with the two systems in one application. I can’t prove it, but I think has to with the memory models and...
View ArticleNew Post: Equivalent to HttpUtility.UrlEncode
Hello, What is the equivalent to HttpUtility.UrlEncode? For example if I do try to encode this string: "Bearer...
View ArticleNew Post: http_client failing to parse a JSON string
Hello, I am using the latest version of Casablanca and the JSON parser is failing to read the output from a third party REST service. The raw response is:HTTP/1.1 200 OK Cache-Control: no-cache Pragma:...
View ArticleCreated Unassigned: http_linux : race condition in...
Method checks if pool is empty ; if not, it take the first connection from pool.However, IIUC, pool is locked in underlying methods is_pool_empty() and get_head(), so this does not work reliably...
View ArticleNew Post: Building the sdk on windows 8.1 using VS2013 express
Steve, Thanks for the info. You're probably right, I haven't tried yet to compile my project with the static lib, and was just alarmed by the size. I should get back on that project and check the...
View ArticleNew Post: 32-bit and 64-bit Binaries Supported on Linux?
I have successfully built a 32-bit version of C++ Rest SDK v2.3 on RHEL 7 64-bit. It was easier than expected as I was able to use pre-build packages. Here's what I did. Step 1: Install 32-bit boost...
View Article