Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Network plugin - Support formatting network request #5652

Closed
wants to merge 1 commit into from

Conversation

Ishmael-ZT
Copy link

@Ishmael-ZT Ishmael-ZT commented Jul 11, 2024

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

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 11, 2024
@Ishmael-ZT Ishmael-ZT changed the title Support formatting network request Network plugin - Support formatting network request Jul 12, 2024
@Ishmael-ZT Ishmael-ZT force-pushed the format_request_body branch from 3601190 to b25462c Compare July 13, 2024 18:33
@passy
Copy link
Member

passy commented Jul 15, 2024

This looks very useful. Thank you!

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@passy merged this pull request in ea91782.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants