mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #717] [Feature Request] Support Other Serialization Schemes/Formats #715
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VaslD on GitHub (Dec 5, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/717
Originally assigned to: @NghiaTranUIT on GitHub.
Description
Are there plans for decoding other serialization formats besides Protobuf, for example MessagePack, directly in Proxyman app?
(Or maybe this could be achieved by plugins—I would gladly write one though it may take some time—if the planned plugin architecture supports this type of functionality.)
@NghiaTranUIT commented on GitHub (Dec 6, 2020):
Hi, it's possible for now if you use the Scripting feature.
From what I research, you can download mspack.min.js (https://github.com/ygoe/msgpack.js) and use it as a Scripting Addon, then decoding the binary data and set as a Response Body again.
Here is a quick tutorial (Please notes that I haven't tested it, but in general it should work)
msgpack.min.jsand put it in~/Library/Application Support/com.proxyman.NSProxy/addons/libs/foldermessagepack.jsin~/Library/Application Support/com.proxyman.NSProxy/addons/with the following content:You can check out many Snippet Code to know how to manipulate the Request/Response data
@VaslD commented on GitHub (Dec 6, 2020):
Thank you for the detailed explanation.
I’ll try it out. Closing it for now.