Open NghiaTranUIT opened 7 months ago
[x] Reuse the Match Rule View from other Tools. Don't implement the new one.
[x] After editing the Protocol, it automatically fills the port number to 443 if the port is empty and protocol = https
MapRemoteEntry
, MapRemoteService
and URLEntryComponent
classes. Ping @NghiaTranUIT to get these fileMapRemoteEntry
to implement the Map Remote List + Map Remote Edit screen -> Verify we can save, duplicate, create new, edit -> Work fine.HTTPHandler.swift
and a demo, to understand how Map Remote works under hood.For example:
Notes
row might change, depending on the Map Remote Entry config. See the flow.serveFromRemoteURL
in MapRemoteService
http://localhost:3000/post?action=map_remote
-> Verify the connection is failed because we don't have any localhost:3000 serverhttps://httpbin.proxyman.app
Preserve the original URL
Install docker and start a local httpbin: $ docker run -p 80:80 kennethreitz/httpbin
Verify we can call: http://127.0.0.1/get?id=123
in cURL or postman
Use Postman and send: https://httpbin.proxyman.app/get?id=123
Right Click on the request on Proxyman -> Tool -> Map Remote
Enter the following setting:
Repeat the request
✅ Verify we get the response from the httpbin.org
docker
Description
It's time to implement the Map Remote features.
✅ It's okay to duplicate or subclass. Similar to what we've done for Map Local, Breakpoint and Scripting
1. Main UI
[x] Implement and reuse the Main Table View + Logic
[x] Right Menu Context
[x] Make sure the logic of the menu context is working as Map Local, Breakpoint. For example, I can delete, duplicate, edit or create new Rule by using the Menu Context or Shortcut
[x] Implement the Filter, similar to Map Local (Please note that Proxyman macOS doesn't support the Filter on Map Remote yet.)
[x] Map Remote on Toolbar