2

In Apache HTTP Client there's the concept of a "wire log" that can be turned on, printing out the actual HTTP text generated by the client code and sent to the server.

How can I do the same using spray-client? I'm of course able to add a RequestTransformer and ResponseTransformer and print them using .toString, but that doesn't show me what's actually being serialized to HTTP at the TCP level.

paradigmatic
  • 40,153
  • 18
  • 88
  • 147
Electric Monk
  • 2,192
  • 2
  • 23
  • 33

0 Answers0