Closed bruno-garcia closed 6 years ago
This is an idea to fulfill @chris-smith-zocdoc requirement described at: #239 WIP as I didn't really test it much. Let's discuss the design first. Let me know your thoughts.
/cc @mitsuhiko @asbjornu
Could you guys let me know what you think? I'd like to finalize this.
// @asbjornu @chris-smith-zocdoc @mitsuhiko
@asbjornu
That's a good idea. It'd include the Contexts stuff. I guess I can look into that tomorrow, unless you want to take it over
@bruno-garcia: I’m on vacation now and you’re doing great on your own here so do as you please! :smile:
2.4 was released, so now with this code merged into develop, we'll have 2.4.1-preview released. @chris-smith-zocdoc would you be able to run the preview?
Breaking changes: RavenClient
BeforeSend
hook exposes now:IRequester
which doesn’t have some members.Requester
was renamed toHttpRequester
Lost two public members:IRavenClient
JsonPacket
Continues to expose the actualRequestData
thoughHttpRequester no longer calls RavenSharp’s public method
PrepareData
followed by constructingRequestData
in its constructor.The caller (which in the library is only RavenClient anyway) should invoke this method (in itself) then create the RequestData to provide the HttpRequester.
QueueRequester which upon request invoked queues up for background worker.