facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.36k stars 952 forks source link

Network plugin - Support formatting network request #5652

Closed Ishmael-ZT closed 4 months ago

Ishmael-ZT commented 4 months ago

Summary

The network plugin allows for formatting network responses, making it possible to convert protobuf messages into a human-readable format. However, there is currently no method to format network request bodies. This PR introduces a NetworkRequestFormatter to address this issue.

Changelog

Network plugin: Support formatting request body

Test Plan

Here we intercepted the network call and modified the request and response bodies

Screenshot 2024-07-11 at 23 13 58
passy commented 4 months ago

This looks very useful. Thank you!

facebook-github-bot commented 4 months ago

@passy has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 4 months ago

@passy merged this pull request in facebook/flipper@ea917828ae653075c43c5b54b99f8f3ed59fd8fe.