Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Browsing all 4845 articles
Browse latest View live
↧

New Post: Should I use L or U() when handling strings with JSON?

Ah OK, thanks. So I should use U() for literal JSON keys then, and json::value(conversions::to_string_t(somestring)) for values? The last one is a bit of a mouthful...

View Article


New Post: extract_json performance

Hi Ganesha, The default chunksize is already 64K. Also I assume you are running with the release build, correct? In your prior examples you don't have everything quite right, if you want to use the...

View Article


New Post: Should I use L or U() when handling strings with JSON?

Yes in both cases if you want to write entirely cross platform code with the library. In some of the APIs where both UTF-8 and UTF-16 is support, like with http_request::set_body. Steve

View Article

Commented 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 Article

New Post: extract_json performance

Hi Steve, Even with this code, the performance has remained same (~9 sec). I have Windows Server 2012 where http_listener is running. http_client is running on Windows 7. (And there is no virus scanner...

View Article


New Post: extract_json performance

Hi Ganesha, Potentially, the focus of this library is really on the client side connecting portions. We have done very little performance work on the http_listener and don't have any current plans to....

View Article

New Post: extract_json performance

Hi Steve, ATL Server is an old technology from Microsoft which uses SOAP for communication (supported until VS2005). This is not compatible with http_client unfortunately. Have you done any performance...

View Article

New Post: extract_json performance

Hi Ganesha, Regarding the http_listener - we are not actively doing any work on it right now and don't currently have any plans to. It is missing some important features and hasn't received the same...

View Article


New Post: How should I handle websocket_client reconnects?

Hi DesktopMan, Our websocket client doesn't allow reconnecting by calling the connect function again. You can simply create a new websocket client object instance and then call connect. Also FYI it...

View Article


Commented Unassigned: defect in lazy initialization of static in...

The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...

View Article

Edited Issue: Mismatched new/delete Windows streams file I/O - no leak, but...

I still haven’t figured out in the non-error path who is responsible for deleting this buffer. One immediate problem is we allocate a buffer on the heap in many places like the following in...

View Article

Commented 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 Article

New Post: Regarding Security on http_listener

Thanks Steve. I am using abstract session pattern to provide security on top of webservice. -Ram

View Article


New Post: extract_json performance

Hi Steve, I did 2 things today. Used 2.6.0 of REST SDK instead of 2.5.0. There seems to be some fix in 2.6. for http_listener. Used a different client system The download of data is now very fast...

View Article

New Post: extract_json performance

Hi Ganesha, A few examples of major features missing include, authentication, HTTPS (only implemented on Windows), and persistent connections (only implemented on Windows). Steve

View Article


New Post: extract_json performance

Hi Steve, I am interested only in Windows deployment. So do you mean the features in http_listener are almost complete for Windows deployment? Anything is missing for Windows? Ganesha

View Article

New Post: extract_json performance

On all the platforms I consider the http_listener to still be a beta state. Depending on what features you want or need it might be complete enough, there is no authentication support, no client or...

View Article


New Post: extract_json performance

Thanks Steve. Let me check other aspects that we need. Ganesha

View Article

Updated Release: C++ REST SDK 2.7.0

websocketsMerged pull request allowing through CMake to use an external version of Websocket++. #294miscellaneousMerged a couple of pull requests (here, here, and here) fixing several issues with...

View Article

New Post: IIS support

Hi Steve, It looks like IIS hosting is not supported for REST SDK, right? Is there anyway to hook it up with IIS Native module? Ganesha

View Article
Browsing all 4845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>