Swiftpack.co -  AlwaysRightInstitute/SwiftXmlRpc as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
AlwaysRightInstitute/SwiftXmlRpc
An XML-RPC protocol implementation for Swift
.package(url: "https://github.com/AlwaysRightInstitute/SwiftXmlRpc.git", from: "0.8.6")

Swift XML-RPC

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 // AlwaysRightInstitute/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.

Links

Who

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.

GitHub

link
Stars: 2
Last commit: 29 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Five-Dot-0
29 weeks ago

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

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