victor / libGopher

Gopher protocol implementation in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libGopher

LibGopher is a Gopher protocol implementation in Swift 4. It hooks into Cocoa's URLSession mechanics, so you can use the tasks you're already used to (albeit with some limitations) just using gopher://-style URLs.

Registering libGopher

The only step that you need to do when you want to access Gopher URLs is register libGopher to handle the gopher scheme for you:

URLProtocol.registerClass(GopherURLProtocol.self)

About

Gopher protocol implementation in Swift

License:MIT License


Languages

Language:Swift 86.2%Language:Ruby 13.8%