[GH-ISSUE #1281] [Feature Request] Set different protobuf message type for request and response of same url #1274

Closed
opened 2026-03-03 19:49:57 +03:00 by kerem · 6 comments
Owner

Originally created by @jjmean2 on GitHub (Jun 29, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1281

Originally assigned to: @NghiaTranUIT on GitHub.

Hello.
I love new feature that supports protobuf File Descriptor!
My server has lots of proto files and it was hard to add proto files in proper order, so I can't use protobuf viewer before 3.6.0, and finally I succeed import proto spec into Proxyman in version 3.6.0! I appreciate it!

But my server api use different message type for request and response, and I cannot find how to set different message type for request and response in same url. Is it not possible in current version? if so, it would be very helpful if this feature updated. Thanks!

Proxyman version?

Proxyman 3.6.0

macOS Version?

mac 12.4

Originally created by @jjmean2 on GitHub (Jun 29, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1281 Originally assigned to: @NghiaTranUIT on GitHub. Hello. I love new feature that supports protobuf File Descriptor! My server has lots of proto files and it was hard to add proto files in proper order, so I can't use protobuf viewer before 3.6.0, and finally I succeed import proto spec into Proxyman in version 3.6.0! I appreciate it! But my server api use different message type for request and response, and I cannot find how to set different message type for request and response in same url. Is it not possible in current version? if so, it would be very helpful if this feature updated. Thanks! ### Proxyman version? Proxyman 3.6.0 ### macOS Version? mac 12.4
kerem 2026-03-03 19:49:57 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 30, 2022):

It's not possible to set multiple message types to a single URL.

Just wondering:

  1. Does your request/response use either message type at once or use both of them?
  2. What is your current solution? From what I know, Charles Proxy only supports a single message type (like Proxyman)
<!-- gh-comment-id:1170652251 --> @NghiaTranUIT commented on GitHub (Jun 30, 2022): It's not possible to set multiple message types to a single URL. Just wondering: 1. Does your request/response use either message type at once or use both of them? 2. What is your current solution? From what I know, Charles Proxy only supports a single message type (like Proxyman)
Author
Owner

@jjmean2 commented on GitHub (Jun 30, 2022):

Thanks for reply!

  1. it uses both of them.
    For example, I have an API to book a hotel booking, and its message type for request is about input values for booking and its message type for response is about booking result.
    I can view proto field name in only either of request or response because I can set only one message type of them.

  2. I also use Charles Proxy, and I can set message type for request and response separately.

176576060-7cf69208-cb5b-4c0f-97d0-024fb78d5472 복사본

<!-- gh-comment-id:1170666756 --> @jjmean2 commented on GitHub (Jun 30, 2022): Thanks for reply! 1. it uses both of them. For example, I have an API to book a hotel booking, and its message type for request is about input values for booking and its message type for response is about booking result. I can view proto field name in only either of request or response because I can set only one message type of them. 2. I also use Charles Proxy, and I can set message type for request and response separately. ![176576060-7cf69208-cb5b-4c0f-97d0-024fb78d5472 복사본](https://user-images.githubusercontent.com/11574475/176576332-0923d678-453e-4c69-8fb5-62082cdb79e3.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 30, 2022):

Ah, I understand. I'm going to implement this feature and send you a Beta build soon 👍

<!-- gh-comment-id:1170667440 --> @NghiaTranUIT commented on GitHub (Jun 30, 2022): Ah, I understand. I'm going to implement this feature and send you a Beta build soon 👍
Author
Owner

@jjmean2 commented on GitHub (Jun 30, 2022):

Oh! Thanks, I appreciate it 🙏

<!-- gh-comment-id:1170667764 --> @jjmean2 commented on GitHub (Jun 30, 2022): Oh! Thanks, I appreciate it 🙏
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 1, 2022):

@jjmean2 let's try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.6.0_Protobuf_Support_Message_type_for_request_and_response.dmg

From now, you can define each MEssage Type for the Request and Response 👍

Screenshot

Screen_Shot_2022-07-01_at_10_31_01
Screen_Shot_2022-07-01_at_10_29_59

<!-- gh-comment-id:1171899676 --> @NghiaTranUIT commented on GitHub (Jul 1, 2022): @jjmean2 let's try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.6.0_Protobuf_Support_Message_type_for_request_and_response.dmg From now, you can define each MEssage Type for the Request and Response 👍 ### Screenshot ![Screen_Shot_2022-07-01_at_10_31_01](https://user-images.githubusercontent.com/5878421/176819326-745d173d-2899-4add-ad99-e3b97c2b4a7c.jpg) ![Screen_Shot_2022-07-01_at_10_29_59](https://user-images.githubusercontent.com/5878421/176819340-ff1672f4-024a-443c-8441-7222f106aab2.jpg)
Author
Owner

@jjmean2 commented on GitHub (Jul 1, 2022):

It works like a charm! 👍
Thanks for your work~

<!-- gh-comment-id:1172150072 --> @jjmean2 commented on GitHub (Jul 1, 2022): It works like a charm! 👍 Thanks for your work~
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1274
No description provided.