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

Edited Issue: Exception: when request() is called with GET and body_send [4]

This is more of error checking than anything else. I inadvertently used methods::GET with body_data. I really wanted to use methods::POST.test:```////this one will generate exception//http_client...

View Article


New Post: http_client missing method?

is it possible for http_client to get assigned a different URI after declaration? It appears the only way to declare this class is through either the constructor or through std::move from another...

View Article


Commented Issue: Missing web:: namespace in JSON documentation [6]

The current version of [JSON](https://casablanca.codeplex.com/wikipage?title=JSON&referringTitle=Documentation) chapter of the documentation does not explicitly explain all the JSON features live...

View Article

New Post: http_client missing method?

c2c, The intent behind the design was that each client should represent a particular service, which is why you don't change the base URI after it's been constructed. The instances aren't that expensive...

View Article

New Post: Cryptography Options: bcrypt.lib v. crypt32.lib

I expect a more flexible approach to encryption/hashing/signing/etc. would be worth the effort on platforms where it can be plugged in. How are the architects of Casablanca seeking to keep those...

View Article


New Post: Casablanca and VS2010

Just a bit off-topic: I would very happy to see you drop support for VS10 and take more robust adoption of C++11 features.

View Article

New Post: Cryptography Options: bcrypt.lib v. crypt32.lib

Just so that we have the context of your request -- more flexible than what? Right now, Casablanca doesn't really do any of that for you. Niklas

View Article

New Post: Casablanca and VS2010

Yes, it's a bit of a drag, particularly the VS2010 bugs around nested lambdas, but roughly half our downloads are for VS2010, so until user demand subsides, we'll keep supporting it in Casablanca. Niklas

View Article


New Post: Cryptography Options: bcrypt.lib v. crypt32.lib

Yes, I see you are only using it for conversion to/from base64. Currently you have calls to CryptStringToBinaryW & CryptBinaryToStringW in asyncrt_utils.cpp to support the conversions. Aside from...

View Article


New Post: Cryptography Options: bcrypt.lib v. crypt32.lib

Ray, Have you looked at the http_clien::add_handler() functionality? It allows you to insert code to process messages as the go out and come back, more or less arbitrarily. There are examples of their...

View Article

New Post: Cryptography Options: bcrypt.lib v. crypt32.lib

Thanks Niklas - I hadn't gone that far yet - very nice - will give it a whirl!

View Article

Source code checked in, #040c323727ca7747beb254ecf2b8eac73632f3be

Fix race condition in the event implementation

View Article

Updated Wiki: Platform-Independent Strings

Platform-Independent Strings The preferred representation of textual data in the form of strings is different depending on the platform. For example, in most Windows APIs, the convention is to use...

View Article


New Post: Fire and forget from console application

I would like to send a number of POST requests on http_client from console application. Console has only one thread. All POST requests are followed by then, but I would want that continuation to...

View Article

New Post: Fire and forget from console application

Hi Tonko, All continuations are automatically executed on a thread pool thread, so there is no need to create your own scheduler unless you have some special needs to do something different than that....

View Article


New Post: Windows http client timeout

Looking into the source code, my understanding is that one Casablanca http client corresponds to one WinHttp session. Thus, the timeout on http_client_config can be set only once, at the time when...

View Article

New Post: Windows http client timeout

Yes, that should be correct. Construct additional client instances if you need to set different configuration parameters.

View Article


New Post: Debug Assertion Failed mystery - _pFirstBlock == pHead

I have been getting an Debug Assertion Failed! error dbgheap.c line:1424 Expression: _pFirstBlock == pHead json::value data; data[U("entry1")] = json::value::string(U("data")); <==assertion Release...

View Article

New Post: Debug Assertion Failed mystery - _pFirstBlock == pHead

c2c, I cannot repro it on my machine, but the assertion suggests that the error happens when a memory object is being deleted, so it's not something you want to ignore. Perhaps this is a case of...

View Article

New Post: I don't find any way to get progress info for ongoing WEBDAV GET...

Right, our task objects only allow you to see completion. For each request, there's two objects:The response headers are available, and The body is completely available. That doesn't tell you anything...

View Article
Browsing all 4845 articles
Browse latest View live