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 use in the pipeline_stage_tests.cpp unit test file.
Let us know if that is not sufficiently pluggable for your needs -- extensibility of this kind is really important, and add_handler() has been our standard solution to it. Another common use is to add a standard set of headers to each outgoing message, or strip returning messages of headers.
Niklas
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 use in the pipeline_stage_tests.cpp unit test file.
Let us know if that is not sufficiently pluggable for your needs -- extensibility of this kind is really important, and add_handler() has been our standard solution to it. Another common use is to add a standard set of headers to each outgoing message, or strip returning messages of headers.
Niklas