New Post: Implementing Web Services
The answer is yes... using the http_listener module
View ArticleNew Post: connect() to localhost requires network connection?
Hi SoosAntal, I'm not aware of this restriction/requirement but perhaps it is a problem with the underlying Websocket++ library we build on. Let me try it out locally on one of my machines. Steve
View ArticleNew Post: C++ REST SDK and MFC
Hi ovidiucucu, Thanks for putting together an example using MFC and the C++ REST SDK. Here are a couple of comments that came to mind as I was reading through: I'd prefer if you didn't advertise or...
View ArticleClosed Unassigned: VS 2010 BingRequest sample links cpprest110d_1_2.lib [385]
For Debug, should be cpprest100d_1_2.libSee CppRest.props.Other demos probably have the same problem
View ArticleCommented Unassigned: websock crash after long run. [380]
I use websock for stock quote message. it crashed alway after 30 min to one hours run.the attached image is the print screen of the call stack when crashing. wish it helps.Comments: Hi ParallelDqn, All...
View ArticleNew Post: connect() to localhost requires network connection?
Ok I just tried running our websocket client test cases which all use 'localhost' and didn't have any problems. Perhaps this is a localhost configuration issue on your machine? I was on a Windows 8.1...
View ArticleCommented Unassigned: extract_utf16string doesn't return the whole body [387]
```void test_pageGetUTF8(std::wstring url){ http_client client(url); auto query = uri_builder().append_query(L"q", L"test").to_string(); client.request(methods::GET, query) .then([](http_response...
View ArticleCommented Issue: websocket_client - close_callback_client_websocket test...
This is something going on with websocketpp and I'm not sure if actually in the client or in the test server. The test has been disabled for now.Starting test case...
View ArticleCommented Unassigned: uri_exception is thrown when uri contains square...
`uri_builder` in `windows_request_context::read_headers_io_completion` throws web::uri_exception when the uri contains square brackets.The encode_uri method handles square brackets as general...
View ArticleEdited Issue: uri_exception is thrown when uri contains square brackets [382]
`uri_builder` in `windows_request_context::read_headers_io_completion` throws web::uri_exception when the uri contains square brackets.The encode_uri method handles square brackets as general...
View ArticleEdited Issue: appverifier error during test dll unload v140 [313]
Reproduces running websocket client desktop tests under AppVerifier when run in the debugger. It appears to be an issue with the test dll and so not an actual product bug.__However__ since we use...
View ArticleCommented Issue: appverifier error during test dll unload v140 [313]
Reproduces running websocket client desktop tests under AppVerifier when run in the debugger. It appears to be an issue with the test dll and so not an actual product bug.__However__ since we use...
View ArticleUpdated Release: C++ REST SDK 2.6.0
streamsDeprecated the streambuf::putn API. In some cases with file streams this API makes a copy. To be more efficient and not break existing code a new function putn_nocopy has been created. This...
View ArticleCommented Issue: websocket_client - close_callback_client_websocket test...
This is something going on with websocketpp and I'm not sure if actually in the client or in the test server. The test has been disabled for now.Starting test case...
View ArticleCreated Issue: Android - functions marked noexcept which throw and exception...
This appears to have nothing to do with the C++ REST SDK as it reproduces easily on with just a basic NativeActivity with exceptions and C++11 turned on calling the following function:void foo()...
View ArticleCommented Issue: Android - functions marked noexcept which throw and...
This appears to have nothing to do with the C++ REST SDK as it reproduces easily on with just a basic NativeActivity with exceptions and C++11 turned on calling the following function:void foo()...
View ArticleCreated Unassigned: Link Errors - asyncrt_utils.o [389]
I'm seeing some link errors with boost / cpprest in XCode 6.3.1. I was able to replicate the link errors by creating a simple single-view project in XCode. I changed ViewController.m ->...
View ArticleNew Post: Custom headers in response
Hi albpara, You have full control over the HTTP response that you send to each client request with the http_listener. Specifically for headers take a look at the http_response::headers() function. It...
View ArticleCommented Unassigned: Link Errors - asyncrt_utils.o [389]
I'm seeing some link errors with boost / cpprest in XCode 6.3.1. I was able to replicate the link errors by creating a simple single-view project in XCode. I changed ViewController.m ->...
View ArticleUpdated Release: C++ REST SDK 2.6.0
streamsDeprecated the streambuf::putn API. In some cases with file streams this API makes a copy. To be more efficient and not break existing code a new function putn_nocopy has been created. This...
View Article