This Swift Package is a μframework for debugging with Swift Foundation's URLRequests, converting them to cURL commands that can easily be copy and pasted to execute or inspect details.
Example:
(lldb) po request.cURLCommand()
curl -v https://www.github.com -X POST \
--data {"data": {"key": "value"}} \
--header "Accept=application/json" \
--header "Content-Type=application/json"
Just add the Swift Package to your Xcode project in Project settings, "Swift Packages."
This project is licensed under the MIT License - see the LICENSE file for details
link |
Stars: 4 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics