Swiftpack.co - helje5/SwiftXmlRpc as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by helje5.
helje5/SwiftXmlRpc 0.8.7
An XML-RPC protocol implementation for Swift
⭐️ 7
🕓 37 weeks ago
.package(url: "https://github.com/helje5/SwiftXmlRpc.git", from: "0.8.7")


XML-RPC protocol support for Swift.

An XML-RPC parser and a simple XML-RPC client object based upon URLSession (if available).

Performing a simple call:

#!/usr/bin/swift sh
import XmlRpc // helje5/SwiftXmlRpc

let client  = XmlRpc.createClient("https://www.xmlrpc.com/RPC2")
let methods = try client.system.listMethods()

The package also contains a small XML-RPC commandline client. It can be invoked like that:

swift run xmlrpc_call "http://yourserver/RPC2" system.listMethods

Learn more about XML-RPC in Swift in our blog article: Writing an Swift XML-RPC Server.



Swift XML-RPC is brought to you by the Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.


Stars: 7
Last commit: 37 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

2 years ago

This release makes SwiftXmlRpc work with older Swift versions. Because we care!

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics