summaryrefslogtreecommitdiff
path: root/lib/net/hippie/client.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-06 17:29:41 -0600
committermo khan <mo@mokhan.ca>2025-07-06 17:29:41 -0600
commit602cf1603e6be9e961e5512ca770f6765fcb9b91 (patch)
tree14acb809365211d80ef1a19b7af53200d613fff2 /lib/net/hippie/client.rb
parentc4ebba06ec707a3bbc7323eb0f378710a178604c (diff)
feat: add debug logging support for Rust backend
- Implement debug logging in RustConnection that matches Net::HTTP format - Add log_request and log_response methods with detailed HTTP transaction logs - Update Rust client to properly handle request headers - Add comprehensive RDoc documentation for logging methods - Ensure feature parity between Ruby and Rust backends for debugging Debug output format matches Net::HTTP's set_debug_output: -> "GET https://api.example.com/users HTTP/1.1" -> "accept: application/json" -> "" <- "HTTP/1.1 200" <- "content-type: application/json" <- "" <- "{\"users\":[...]}" This maintains the same debugging experience users expect from the Ruby backend while providing the performance benefits of Rust. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'lib/net/hippie/client.rb')
0 files changed, 0 insertions, 0 deletions