Open cflipse opened 8 years ago
@cflipse is this still needed?
@solnic I don't think this is needed, I had a similar case when developing a PoC a few years back and just handed off to another class based on the verb in my adapters request/response handlers, this also allows you to do any processing that is common to all requests before handing off to dependencies.
different HTTP methods are going to have different needs from their response handlers; it should be easy to select a separate response handler to use, so that the same
call
method doesn't have to handle bothDELETE
andGET
responses.